-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
51 lines (43 loc) · 1.2 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
#!/usr/bin/env python
"""
Flask-Reggie
------------
Quickly and Easily enable Regex Routes within your Flask Application
"""
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
name='Flask-Reggie',
version='0.0.2',
url='http://github.com/rhyselsmore/flask-reggie',
author='Rhys Elsmore',
author_email='me@rhys.io',
description='Flask Regex Routes.',
long_description=open('README.rst').read() + '\n\n' +
open('HISTORY.rst').read(),
py_modules=['flask_reggie'],
license=open('LICENSE').read(),
package_data={'': ['LICENSE']},
zip_safe=False,
platforms='any',
install_requires=[
'setuptools',
'Flask',
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)