-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
60 lines (54 loc) · 1.88 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
# -*- coding: utf-8 -*-
import os
from setuptools import find_packages
from setuptools import setup
from os.path import dirname, abspath, join, normpath
with open(os.path.join(os.path.dirname(__file__), "README.rst")) as readme:
README = readme.read()
with open(os.path.join(os.path.dirname(__file__), "VERSION")) as f:
VERSION = f.read()
tests_require = []
with open(join(dirname(abspath(__file__)), "requirements.txt")) as f:
for line in f:
tests_require.append(line.strip())
# allow setup.py to be run from any path
os.chdir(normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name="django-collect-offline",
version=VERSION,
author=u"Erik van Widenfelt",
author_email="[email protected]",
packages=find_packages(),
include_package_data=True,
url="https://github.com/erikvw/django-collect-offline",
license="GPL license, see LICENSE",
description="Collect data offline and push to the server later.",
long_description=README,
zip_safe=False,
keywords="django data synchronization offline-use",
install_requires=[
"django-collect-offline-files",
"django-cors-headers",
"django-crypto-fields",
"django-js-reverse",
"djangorestframework",
"edc-sites",
"edc-device",
"edc_protocol",
"requests",
],
classifiers=[
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.7",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
],
python_requires=">=3.7",
tests_require=tests_require,
test_suite="runtests.main",
)