-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (44 loc) · 1.73 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
from setuptools import setup
import os.path
import re
versionfile_path = os.path.join("ethunder", "_version.py")
with open(versionfile_path, 'r') as version_file:
version_line = version_file.read()
ver_reexpr = r"^__version__ = ['\"]([^'\"]*)[\"]"
r = re.search(ver_reexpr, version_line, re.M)
if r:
version = r.group(1)
else:
raise RuntimeError("Unable to find version string in {0}".format(
versionfile_path))
config = {
'name': 'EThunder',
'description': 'A test project.',
'author': 'Richard Pfeifer',
'author_email': '[email protected]',
'url': "http://ri-p.github.io/enlighted-thunder",
'description': ("A project to explore the possibilities of GitHub."),
'license': 'GNU General Public License V2 (GPLv3)',
'long_description': "EnlightedThunder is a personal test tool to explore the possiblities of GitHub and Python deployment. Please don't expect any use.",
'classifiers': ["Development Status :: 3 - Alpha",
"License :: OSI Approved :: General Public License v2",
"Environment :: Console",
"Programming Language :: Python :: 2.7",
"Operating System :: POSIX :: Linux",
],
'version': version,
'install_requires': ['docopt==0.6.1',
'appdirs==1.4.0',
'nose==1.3.4',
'pyYaml==3.11',
],
'packages': ['ethunder', 'ethunder.test'],
'include_package_data': True,
'entry_points': {'console_scripts':
['ethunder = ethunder.app:Main',
]
},
'scripts': ['bin/ethunder'],
'test_suite': 'nose.collector',
}
setup(**config)