-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
33 lines (30 loc) · 1020 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
#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from pathlib import Path
version_path = Path(__file__).parent / "karton/dashboard/__version__.py"
version_info = {}
exec(version_path.read_text(), version_info)
setup(
name="karton-dashboard",
version=version_info["__version__"],
url="https://github.com/CERT-Polska/karton-dashboard/",
description="A small Flask application that allows for Karton task and queue introspection.",
long_description=open("README.md", "r").read(),
long_description_content_type="text/markdown",
namespace_packages=["karton"],
packages=["karton.dashboard"],
install_requires=open("requirements.txt").read().splitlines(),
include_package_data=True,
entry_points={
'console_scripts': [
'karton-dashboard=karton.dashboard:cli'
],
},
classifiers=[
"Programming Language :: Python",
"Operating System :: OS Independent",
],
)