forked from ambition-study/ambition-validators
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
62 lines (57 loc) · 1.89 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
# -*- coding: utf-8 -*-
import os
from setuptools import setup
from setuptools import find_packages
from os.path import join, abspath, dirname, normpath
with open(join(dirname(__file__), 'README.rst')) as readme:
README = readme.read()
with open(join(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='ambition-form-validators',
version=VERSION,
author='Erik van Widenfelt',
author_email='ew2789@gmail.com',
packages=find_packages(),
include_package_data=True,
url='https://github.com/ambition-trial/ambition-form-validators',
license='GPL license, see LICENSE',
description='Form validators for ambition/edc project',
long_description=README,
zip_safe=False,
keywords='django ambition',
install_requires=[
'ambition-screening',
'ambition-labs',
'ambition-lists',
'ambition-prn',
'ambition-sites',
'ambition-subject',
'ambition-visit-schedule',
'edc-appointment',
'edc_constants',
'edc-form-validators',
'edc-lab',
'edc-reportable',
],
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',
)