forked from CalculatedContent/WeightWatcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
68 lines (64 loc) · 2.38 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
from setuptools import setup
import weightwatcher as ww
#try:
# import pypandoc
# readme = pypandoc.convert('README.md', 'rst')
# readme = readme.replace("\r","")
#except OSError as e:
# # pypandoc failed, use the short description as long description
# readme = ww.__description__
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
readme = f.read()
setup(
name = ww.__name__,
version = ww.__version__,
url = ww.__url__,
project_urls={
"Documentation": "https://calculationconsulting.com/",
"Code": "https://github.com/calculatedcontent/weightwatcher",
"Issue tracker": "https://github.com/calculatedcontent/weightwatcher/issues",
},
license = ww.__license__,
author = ww.__author__,
author_email = ww.__email__,
maintainer = ww.__author__,
maintainer_email = ww.__email__,
description = ww.__description__,
long_description = readme,
long_description_content_type="text/markdown",
packages = ["weightwatcher"],
include_package_data = True,
test_suite = 'tests',
python_requires = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
install_requires = ['numpy',
'matplotlib',
'powerlaw',
'tensorflow',
'keras',
'sklearn',
'pandas'],
entry_points = '''
[console_scripts]
weightwatcher=weightwatcher:main
''',
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
keywords = "Deep Learning Keras Tensorflow pytorch CNN DNN Neural Networks",
)