-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
39 lines (35 loc) · 1.08 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
# -*- coding: utf-8 -*-
import setuptools
from laporte.version import __version__
try:
with open("README.md", "r") as fh:
long_description = fh.read()
except FileNotFoundError:
long_description = "README.md not found"
try:
with open('requirements.txt') as fh:
required = fh.read().splitlines()
except FileNotFoundError:
required = []
setuptools.setup(
name="laporte",
version=__version__,
author="Václav Vinklát",
author_email="[email protected]",
description=
"Push gateway for processing metrics with automation and states.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/vinklat/laporte",
include_package_data=True,
zip_safe=False,
packages=setuptools.find_packages(),
install_requires=required,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
entry_points={
'console_scripts': ['laporte=laporte.server:run_server'],
})