-
Notifications
You must be signed in to change notification settings - Fork 103
/
setup.py
30 lines (27 loc) · 980 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from codecs import open
if sys.version_info[:3] < (3, 0, 0):
print("Requires Python 3 to run.")
sys.exit(1)
with open("README.md", encoding="utf-8") as file:
readme = file.read()
setup(
name="communities",
description="Library for detecting and visualizing community structure in graphs",
long_description=readme,
long_description_content_type="text/markdown",
version="v3.0.0",
packages=["communities", "communities.algorithms", "communities.visualization"],
python_requires=">=3",
url="https://github.com/shobrook/communities",
author="shobrook",
author_email="[email protected]",
# classifiers=[],
install_requires=["networkx", "numpy", "matplotlib", "scipy"],
keywords=["graph", "louvain", "community", "clustering", "detection", "girvan-newman", "hierarchical", "visualization"],
license="MIT"
)