-
Notifications
You must be signed in to change notification settings - Fork 20
/
setup.py
executable file
·53 lines (49 loc) · 1.43 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
#! /usr/bin/env python3
import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-binder',
version='1.6.0',
package_dir={'binder': 'binder'},
packages=find_packages(),
include_package_data=True,
license='MIT License',
description='Code Yellow backend framework for SPA webapps with REST-like API.',
long_description=README,
url='https://github.com/CodeYellowBV/django-binder',
author='Marcel Moreaux',
author_email='marcel@codeyellow.nl',
test_suite='tests',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 3.0',
'Framework :: Django :: 4.0',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
install_requires=[
'Django >= 3.0, < 4.0',
'Pillow >= 3.2.0',
'django-request-id >= 1.0.0',
'requests >= 2.13.0',
],
tests_require=[
'django-hijack >= 2.1.10, < 3.0.0',
(
'mysqlclient >= 1.3.12'
if os.environ.get('BINDER_TEST_MYSQL', '0') == '1' else
'psycopg2 >= 2.7'
),
"openpyxl >= 3.0.0"
],
)