forked from Fuyukai/Kyoukai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (39 loc) · 1.29 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
import os
from setuptools import find_packages, setup
rootpath = os.path.abspath(os.path.dirname(__file__))
# Extract version
def extract_version(module='kyokai'):
version = None
fname = os.path.join(rootpath, module, 'util.py')
with open(fname) as f:
for line in f:
if line.startswith('VERSION'):
_, version = line.split('=')
version = version.strip()[1:-1] # Remove quotation characters.
break
return version
setup(
name='Kyokai',
version=extract_version(),
packages=find_packages(),
url='https://mirai.veriny.tf',
license='MIT',
author='Isaac Dickinson',
author_email='sun@veriny.tf',
description='A fast, asynchronous web framework for Python 3.5+',
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Topic :: Internet",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Application Frameworks"
],
install_requires=[
"http-parser>=0.8.3",
"uvloop>=0.4.15",
"PyYAML>=3.11",
"python-magic", 'typeguard', 'asphalt'
]
)