-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
61 lines (54 loc) · 1.9 KB
/
Copy pathsetup.py
File metadata and controls
61 lines (54 loc) · 1.9 KB
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
55
56
57
58
59
60
61
# -*- coding: utf-8 -*-
import os
import sys
if 'bdist_wheel' in sys.argv:
# to build wheel, use 'python setup.py sdist bdist_wheel'
from setuptools import setup
else:
from distutils.core import setup # 'python setup.py install'
__title__ = 'dramkit'
here = os.path.abspath(os.path.dirname(__file__))
pkg_info = {}
fpath= os.path.join(here, __title__, '_pkg_info.py')
with open(fpath, 'r') as f:
exec(''.join(f.readlines()))
readme = os.path.join(here, 'README.md')
readme = open(readme, encoding='utf-8').read()
setup(name=__title__,
version=pkg_info['__version__'],
author=pkg_info['__author__'],
author_email=pkg_info['__author_email__'],
url=pkg_info['__url__'],
license=pkg_info['__license__'],
description=pkg_info['__description__'],
# long_description=pkg_info['__long_description__'],
long_description=readme,
long_description_content_type='text/markdown',
platforms='any',
setup_requires=[],
install_requires=['pycryptodome',
'cryptography',
'tqdm',
'pymysql',
'sqlalchemy',
'openai',
'beartype'],
packages=['dramkit',
'dramkit.backpacks',
'dramkit.chncal',
'dramkit.datsci',
'dramkit.find_addends',
'dramkit.logtools',
'dramkit.openai',
'dramkit.optimizer',
'dramkit.other',
'dramkit.plottools',
'dramkit.pystyles',
'dramkit.sorts',
'dramkit.speedup',
'dramkit.sqltools',
'dramkit.webtools',
'dramkit.wechat',
'dramkit._tmp'
]
)