forked from rbystrit/avro_gen
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
61 lines (49 loc) · 1.96 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
"""
A setuptools-based setup module.
See:
https://github.com/rbystrit/avro_gen
"""
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
if path.exists(path.join(here, 'README.md')):
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
else:
long_description = ''
setup(
name='avro-gen',
version='0.4.2',
description='Avro record class and specific record reader generator',
long_description=long_description,
url='https://github.com/rbystrit/avro_gen',
author='Roman Bystritskiy',
author_email='[email protected]',
license='License :: OSI Approved :: Apache Software License',
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Developers',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: Apache Software License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='avro class generator',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
package_data={'': ['README.md']},
install_requires=["avro >= 1.8.0 ; python_version<'3.0'",
"avro_python3 >= 1.8.0 ; python_version>'3.0'",
'six~=1.0', 'frozendict~=2.0', 'tzlocal~=2.0', 'pytz'],
)