-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathsetup.py
executable file
·38 lines (33 loc) · 1.2 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
from setuptools import setup, find_packages
version = '5.2.0'
def get_requirements(file_path):
with open(file_path) as f:
return [line for line in f if line and not line.startswith('-')]
setup(
name='django_sharding',
version=version,
description="""A sharding app to include in your project so that you can shard your data.""",
long_description=open('README.rst').read(),
author='JBKahn',
author_email='josephbkahn@gmail.com',
url='https://github.com/JBKahn/django-sharding',
packages=find_packages(exclude=['tests']),
include_package_data=True,
install_requires=get_requirements('requirements/common.txt') + ["django>=1.11,<4.0.0"],
tests_require=get_requirements('requirements/development.txt'),
setup_requires=[
'pytest-runner',
],
license="BSD",
zip_safe=False,
keywords='django shard sharding library',
classifiers=[
'Framework :: Django',
'Intended Audience :: Developers',
'Natural Language :: English',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
],
)