File: setup.py

package info (click to toggle)
python-marshmallow-enum 1.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 140 kB
  • sloc: python: 359; sh: 8; makefile: 3
file content (33 lines) | stat: -rw-r--r-- 849 bytes parent folder | download
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'] + 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='alecreiter@gmail.com',
        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,
    )