-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
32 lines (29 loc) · 1 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
#!/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/config_extractor/__version__.py"
version_info = {}
exec(version_path.read_text(), version_info)
setup(
name="karton-config-extractor",
version=version_info["__version__"],
description="Static configuration extractor for the Karton framework",
url="https://github.com/CERT-Polska/karton-config-extractor",
long_description=open("README.md", "r").read(),
long_description_content_type="text/markdown",
namespace_packages=["karton"],
packages=["karton.config_extractor"],
install_requires=open("requirements.txt").read().splitlines(),
entry_points={
"console_scripts": [
"karton-config-extractor=karton.config_extractor:ConfigExtractor.main"
],
},
classifiers=[
"Programming Language :: Python",
"Operating System :: OS Independent",
],
)