-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
47 lines (35 loc) · 1.21 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
import sys
from setuptools import setup
import enumap
if sys.version_info < (3, 6):
print("Python 3.6+ is required")
sys.exit(-1)
version = enumap.__version__
url = "https://github.com/TadLeonard/enumap"
download = "{}/archive/{}.tar.gz".format(url, version)
description = "Ordered collections inspired by Enum"
long_description = f"""
Enumap: ordered data kept orderly
=================================
Enumap is an Enum that helps you manage named, ordered values in a strict but convenient way. Enumap isn't yet another collection, it's a store of keys that creates familiar ordered collections in a more expressive and less error prone way.
Documentation
=============
See {url} for more."""
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
]
setup(name="enumap",
version=version,
py_modules=["enumap"],
url=url,
description=description,
long_description=long_description,
classifiers=classifiers,
author="Tad Leonard",
author_email="tadfleonard@gmail.com",
download_url=download
)