-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
53 lines (48 loc) · 1.51 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
from setuptools import setup
def read_files(files):
data = []
for file in files:
with open(file) as f:
data.append(f.read())
return "\n".join(data)
meta = {}
with open('duckql/version.py') as f:
exec(f.read(), meta)
setup(
name='duckql',
version=meta['__version__'],
packages=[
'duckql', 'duckql.functions', 'duckql.properties', 'duckql.structures',
],
install_requires=[
'pydantic==1.*',
'click==7.*',
'typing-extensions'
],
url='https://github.com/Sibyx/duckql-python',
license='MIT',
author='Jakub Dubec',
author_email='jakub.dubec@gmail.com',
description='JSON declarative SQL conversion library',
long_description=read_files(['README.md', 'CHANGELOG.md']),
long_description_content_type='text/markdown',
entry_points={
"console_scripts": [
'duckql-cli = duckql.cli:cli'
]
},
classifiers=[
# As from https://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 4 - Beta',
'Environment :: Console',
'Programming Language :: Python',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: PyPy',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Database',
'Topic :: Software Development :: Libraries',
]
)