forked from pylover/nanohttp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
49 lines (43 loc) · 1.51 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
from setuptools import setup, find_packages
import os.path
import re
# reading package's version (same way sqlalchemy does)
with open(os.path.join(os.path.dirname(__file__), 'nanohttp', '__init__.py')) as v_file:
package_version = re.compile(r".*__version__ = '(.*?)'", re.S).match(v_file.read()).group(1)
dependencies = [
'pymlconf >= 0.7.1',
'ujson'
]
setup(
name='nanohttp',
version=package_version,
author='Vahid Mardani',
author_email='vahid.mardani@gmail.com',
url='http://github.com/pylover/nanohttp',
description='A very micro http framework.',
long_description=open('README.rst').read(),
install_requires=dependencies,
packages=find_packages(),
entry_points={
'console_scripts': [
'nanohttp = nanohttp:main'
]
},
license='WTFPL',
classifiers=[
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Natural Language :: English',
'Development Status :: 4 - Beta',
'License :: Other/Proprietary License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)