-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
executable file
·46 lines (40 loc) · 1.53 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
"""
Setup script.
"""
from setuptools import setup, find_packages
if __name__ == '__main__':
with \
open('requirements.txt') as requirements, \
open('test_requirements.txt') as test_requirements, \
open('README.md') as readme:
setup(
name='aloe_django',
use_scm_version=True,
description='Package for testing Django applications with Aloe',
author='Alexey Kotlyarov',
author_email='[email protected]',
url='https://github.com/aloetesting/aloe_django',
long_description=readme.read(),
classifiers=[
'License :: OSI Approved :: '
+ 'GNU General Public License v3 or later (GPLv3+)',
'Framework :: Django',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
packages=find_packages(exclude=['tests']),
include_package_data=True,
setup_requires=['setuptools_scm'],
install_requires=requirements.readlines(),
test_suite='tests',
tests_require=[
req
for req in test_requirements.readlines()
if not req.startswith('-e')
],
)