forked from kdheepak/psst
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
76 lines (67 loc) · 1.96 KB
/
setup.py
File metadata and controls
76 lines (67 loc) · 1.96 KB
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
69
70
71
72
73
74
75
76
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from codecs import open
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
# TODO: Testing stuff goes here?
packages = ['psst']
requirements = [
'click',
'sphinx',
'ghp-import',
'sphinxcontrib-fulltoc',
'sphinxcontrib-jsdemo',
'nbsphinx',
'pandas',
'future',
'networkx',
'matplotlib',
'pyomo',
'pypower',
'ipywidgets',
'bqplot',
'traittypes',
]
# TODO: put package test requirements here
test_requirements = []
about = {}
with open(os.path.join(here, 'psst', '__version__.py'), 'r', encoding='utf-8') as f:
exec(f.read(), about)
with open('README.md', 'r', encoding='utf-8') as f:
readme = f.read()
with open('HISTORY.rst', 'r', encoding='utf-8') as f:
history = f.read()
setup(
name=about['__title__'],
version=about['__version__'],
description=about['__description__'],
long_description=readme + '\n\n' + history,
author=about['__author__'],
author_email=about['__author_email__'],
url=about['__url__'],
packages=packages,
package_dir={'psst': 'psst'},
entry_points={'console_scripts': ['psst=psst.cli:cli']},
include_package_data=True,
install_requires=requirements,
license=about['__license__'],
zip_safe=False,
keywords='psst',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering'
],
test_suite='tests',
tests_require=test_requirements
)