forked from dlenski/aztec_code_generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·34 lines (32 loc) · 1.13 KB
/
setup.py
File metadata and controls
executable file
·34 lines (32 loc) · 1.13 KB
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
#!/usr/bin/env python3
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.version_info < (3,4):
sys.exit("Python 3.4+ is required; you are using %s" % sys.version)
setup(name="aztec_code_generator",
version="0.6",
description='Aztec Code generator in Python',
long_description=open('description.rst').read(),
author='Dmitry Alimov',
author_email="dvalimov@gmail.com",
install_requires=open('requirements.txt').readlines(),
extras_require={
"Image": [
"pillow>=3.0,<6.0; python_version < '3.5'",
"pillow>=3.0,<8.0; python_version >= '3.5' and python_version < '3.6'",
"pillow>=8.0; python_version >= '3.6'",
]
},
tests_require=[
"pillow>=3.0,<6.0; python_version < '3.5'",
"pillow>=3.0,<8.0; python_version >= '3.5' and python_version < '3.6'",
"pillow>=8.0; python_version >= '3.6'",
"zxing",
],
license='MIT',
url="https://github.com/dlenski/aztec_code_generator",
py_modules=["aztec_code_generator"],
)