-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
48 lines (37 loc) · 1.33 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
from distutils.core import setup
setup(
name = 'simple-enum',
url = 'https://github.com/andrewcooke/simple-enum',
packages = ['simplenum'],
package_dir = {'': 'src'},
version = '0.0.5',
description = 'A simpler Enum for Python 3',
author = 'Andrew Cooke',
author_email = '[email protected]',
classifiers = ['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: Public Domain',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries'],
long_description = '''
What Does Simple Enum Do?
--------------------------
Simple Enum provides a simpler way to define Enums in Python 3::
class Colour(Enum):
red
green
blue
You can see the full documentation (and implementation) on
`github <https://github.com/andrewcooke/simple-enum>`_.
Why Should I Use Simple Enum?
------------------------------
* It makes the common case as simple as possible.
* It detects accidental duplicate values.
* It allows you to easily select alternative values (numbers from one, bit
fields, etc).
What Else Should I Know?
------------------------
* (c) 2013 Andrew Cooke, [email protected]; released into the public domain
for any use, but with absolutely no warranty.
'''
)