-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
33 lines (29 loc) · 948 Bytes
/
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
import sys
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
readme = open(os.path.join(here, 'README.rst'), 'r').read()
changes = open(os.path.join(here, 'CHANGES.rst'), 'r').read()
requires = ['SQLAlchemy', 'geoalchemy2', 'shapely', 'six']
if sys.version_info >= (3,):
requires.append('python-dateutil')
else:
requires.append('python-dateutil<=1.5')
setup(
name='sqlalchemy-batteries',
version='0.4.5',
description="Various batteries for SQLAlchemy models",
long_description="{}\n\n{}".format(readme, changes),
classifiers=[
"Programming Language :: Python",
],
author='Jesse Dhillon',
author_email='[email protected]',
url='https://github.com/jessedhillon/batteries',
keywords='util paste',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite='batteries',
install_requires=requires,
)