-
Notifications
You must be signed in to change notification settings - Fork 20
/
setup.py
41 lines (33 loc) · 1.27 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
39
40
41
import io
from pkgutil import walk_packages
from setuptools import setup
def find_packages(path):
# This method returns packages and subpackages as well.
return [name for _, name, is_pkg in walk_packages([path]) if is_pkg]
def read_file(filename):
with io.open(filename) as fp:
return fp.read().strip()
def read_requirements(filename):
return [line.strip() for line in read_file(filename).splitlines()
if not line.startswith('#')]
setup(
name="webweb",
version="0.0.37",
author="Daniel Larremore; Hunter Wapman",
author_email="[email protected]",
description="webweb: an easy-to-use network visualization tool",
long_description="webweb: an easy-to-use network visualization tool",
long_description_content_type="text/markdown",
setup_requires=read_requirements('requirements.txt'),
install_requires=read_requirements('requirements.txt'),
url="https://webwebpage.github.io",
include_package_data=True,
packages=list(find_packages('.')),
keywords='webweb',
classifiers=[
"Programming Language :: Python :: 3",
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
"Operating System :: OS Independent",
'Natural Language :: English'
],
)