-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
68 lines (56 loc) · 1.54 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, find_packages
import os
import re
here = os.path.dirname(__file__)
def _get_version(*path):
try:
with open(os.path.join(here, *path)) as fp:
m = re.compile(r".*__version__ = '(.*?)'", re.S).match(fp.read())
return m.group(1)
except Exception:
return '0.0.0'
version = _get_version('src', 'pycure', '__init__.py')
def _read(name):
try:
with open(os.path.join(here, name)) as fp:
return fp.read()
except Exception:
return ""
long_description = _read('README.rst')
install_requires = [
]
tests_require = [
'testfixtures',
]
entry_points = {
'console_scripts': [
],
}
setup(
name="pycure",
version=version,
description="All about Japanese battle heroine \"Pretty Cure\"",
long_description=long_description,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.3",
"Topic :: Utilities",
],
author='Jiro Nejime',
author_email='[email protected]',
url='https://github.com/drillbits/pycure',
license='MIT License',
package_dir={'': 'src'},
packages=find_packages('src'),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
tests_require=tests_require,
extras_require={
'testing': tests_require,
},
test_suite='tests',
entry_points=entry_points)