forked from justanr/marshmallow_enum
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
33 lines (26 loc) · 868 Bytes
/
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
from setuptools import setup
try:
import enum # noqa
extra_requires = []
except ImportError:
extra_requires = ['enum34']
REQUIRES = ['marshmallow>=2.0.0', 'packaging>=14.0'] + extra_requires
with open('README.md', 'r') as f:
readme = f.read()
with open('CHANGELOG', 'r') as f:
changelog = f.read()
if __name__ == '__main__':
setup(
name='marshmallow-enum',
version='1.5.1',
author='Alec Nikolas Reiter',
author_email='[email protected]',
description='Enum field for Marshmallow',
long_description=readme + '\n\n' + changelog,
long_description_content_type="text/markdown",
package_data={'': ['LICENSE', 'README.md', 'CHANGELOG']},
include_package_data=True,
license='MIT',
packages=['marshmallow_enum'],
install_requires=REQUIRES,
)