/
setup.py
51 lines (48 loc) · 1.67 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
from subprocess import check_call
import sys
from setuptools import setup
if sys.argv[-1] in ('build', 'publish'):
check_call(
'rst_include include ./_README.rst ./README.rst', shell=True)
check_call('python setup.py sdist bdist_wheel --universal', shell=True)
if sys.argv[-1] == 'publish':
check_call('twine check dist/*', shell=True)
check_call('twine upload dist/*', shell=True)
sys.exit()
setup(
name='springfield',
packages=['springfield', 'pytest_springfield'],
package_dir={'': 'src'},
version=open('VERSION.txt').read().strip(),
author='Mike Thornton',
author_email='six8@devdetails.com',
url='http://springfield.readthedocs.org',
download_url='http://github.com/plynth/springfield',
keywords=['orm'],
license='BSD',
description='A backend agnostic data modeling entity library',
classifiers=[
"Programming Language :: Python",
"Intended Audience :: Developers",
"Natural Language :: English",
"Topic :: Software Development :: Libraries :: Python Modules",
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Operating System :: OS Independent',
'License :: OSI Approved :: BSD License',
],
long_description=open('README.rst').read(),
long_description_content_type='text/x-rst',
install_requires=[
'anticipate>=0.9.1',
'six>=1.9.0',
],
entry_points={
'pytest11': [
'springfield=pytest_springfield',
]
},
)