-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
54 lines (43 loc) · 1.31 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
52
53
54
"""
Setup cirrina package.
"""
import ast
import re
from setuptools import setup, find_packages
def get_version():
"""Gets the current version"""
_version_re = re.compile(r'__VERSION__\s+=\s+(.*)')
with open('cirrina/__init__.py', 'rb') as init_file:
version = str(ast.literal_eval(_version_re.search(
init_file.read().decode('utf-8')).group(1)))
return version
setup(
name='cirrina',
version=get_version(),
license='LGPL',
description='Opinionated asynchronous web framework based on aiohttp',
url='https://github.com/neolynx/cirrina',
packages=find_packages(),
include_package_data=True,
install_requires=[
'aiohttp',
'aiohttp_session',
'cryptography'
],
keywords=[
'asyncio', 'web',
'framework', 'opinionated',
'awesome'
],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Operating System :: OS Independent',
'License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)',
'Topic :: Utilities'
],
)