-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
49 lines (35 loc) · 1009 Bytes
/
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
import os
import setuptools
class CleanCommand(setuptools.Command):
"""Custom clean command to tidy up the project root."""
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
# noinspection PyMethodMayBeStatic
def run(self):
os.system('rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info')
setuptools.setup(
name="tg_dobby",
python_requires="==3.6.*",
author="Konstantin Chupin",
author_email="[email protected]",
description="Telegram Dobby",
install_requires=[
"aiohttp==3.4.4",
"aiotg==0.9.9",
"aioredis==1.1.0",
"PyYAML==3.13",
"pydantic==0.14",
"yargy==0.11.0",
# TODO FIX: move to build dependencies
"parameterized",
"transliterate==1.10.2",
],
packages=setuptools.find_packages(exclude=("tests",)),
classifiers=['Private :: Do Not Upload'],
cmdclass={
'clean': CleanCommand,
}
)