-
Notifications
You must be signed in to change notification settings - Fork 40
/
setup.py
38 lines (34 loc) · 1.46 KB
/
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
31
32
33
34
35
36
37
38
import os.path
from setuptools import setup, find_packages
def read_file(filename):
with open(os.path.join(os.path.dirname(__file__), filename)) as file:
return file.read()
version = '4.13.2'
setup(
name='netgraph',
version=version,
description='Python drawing utilities for publication quality plots of networks.',
long_description=read_file('README.md'),
long_description_content_type='text/markdown',
author='Paul Brodersen',
author_email='[email protected]',
url='https://github.com/paulbrodersen/netgraph',
download_url=f'https://github.com/paulbrodersen/netgraph/archive/{version}.tar.gz',
keywords=['matplotlib', 'network', 'visualisation'],
classifiers=[ # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Visualization'
],
platforms=['Platform Independent'],
packages=find_packages(),
python_requires='>=3.6',
install_requires=['numpy', 'matplotlib', 'scipy', 'rectangle-packer', 'grandalf'],
extras_require={
'tests' : ['pytest', 'pytest-mpl'],
'docs' : ['sphinx', 'sphinx-rtd-theme', 'numpydoc', 'sphinx-gallery', 'Pillow', 'networkx'],
},
)