-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
56 lines (51 loc) · 1.93 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
54
55
56
#!/usr/bin/env python
from setuptools import setup, find_packages # type: ignore
pkg_name = "clickhouse_plantuml"
with open("{}/version.py".format(pkg_name)) as f:
for line in f:
if line.startswith("__version__"):
delim = '"' if '"' in line else "'"
__version__ = line.split(delim)[1]
break
with open("README.md") as f:
long_description = f.read()
setup(
name=pkg_name,
version=__version__,
description="Generates PlantUML diagrams for clickhouse databases",
long_description=long_description,
long_description_content_type="text/markdown",
url="http://github.com/Felixoid/clickhouse-plantuml",
author="Mikhail f. Shiryaev",
author_email="[email protected]",
license="License :: OSI Approved :: Apache Software License",
install_requires=["clickhouse-driver"],
extras_require={
"tests": ["pytest", "pytest-docker", "flake8"],
"black": ["black", "pytest-black"],
},
packages=find_packages(),
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Database",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Software Development :: Documentation",
"Topic :: Software Development :: Libraries",
],
python_requires="~=3.5",
data_files=[("", ["LICENSE", "docs/example.png"])],
entry_points={
"console_scripts": [
"clickhouse-plantuml = clickhouse_plantuml.__main__:main"
]
},
)