-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
51 lines (44 loc) · 1.26 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
"""uWeb3 installer."""
import os
import re
from setuptools import setup, find_packages
REQUIREMENTS = [
'decorator',
'PyMySQL',
'python-magic',
'python3-openid',
'pytz',
'simplejson',
'sqlalchemy',
'bcrypt',
'werkzeug',
'mysqlclient',
]
def description():
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as r_file:
return r_file.read()
def version():
main_lib = os.path.join(os.path.dirname(__file__), 'uweb3', '__init__.py')
with open(main_lib) as v_file:
return re.match(".*__version__ = '(.*?)'", v_file.read(), re.S).group(1)
setup(
name='uWeb3 test',
version=version(),
description='uWeb, python3, uswgi compatible micro web platform',
long_description=description(),
long_description_content_type='text/markdown',
license='ISC',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: ISC License (ISCL)',
'Operating System :: POSIX :: Linux',
],
author='Jan Klopper',
author_email='[email protected]',
url='https://github.com/underdark.nl/uWeb3',
keywords='minimal web framework',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=REQUIREMENTS)