forked from Sets88/dbcls
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
40 lines (35 loc) · 1013 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
import os
from setuptools import (
find_packages,
setup,
)
def get_requirements():
basedir = os.path.dirname(__file__)
try:
with open(os.path.join(basedir, 'requirements.txt')) as f:
return f.readlines()
except FileNotFoundError:
print(os.listdir(basedir))
print(os.path.join(basedir, 'requirements.txt'))
raise RuntimeError('No requirements info found.')
setup(
name='dbclstext',
version='1.1.1',
license='BSD',
author='Maksim Nikitenko',
author_email='[email protected]',
packages=find_packages(),
description='dbcls is a versatile client that supports various databases',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
include_package_data=True,
zip_safe=False,
platforms='any',
install_requires=get_requirements(),
python_requires='>=3.9',
entry_points={
'console_scripts': [
'dbcls = dbcls:dbcls.py',
]
}
)