-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (29 loc) · 996 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
34
35
36
import re
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with open('ingenialogger/__init__.py') as f:
__version = re.search(r'__version__\s+=\s+"(.*)"', f.read())[1]
def get_docs_url():
return f"https://distext.ingeniamc.com/doc/ingenialogger/{__version}"
setuptools.setup(
name="ingenialogger",
version=__version,
packages=setuptools.find_packages(),
author="Ingenia Motion Control",
author_email="[email protected]",
description="Logger library for Ingenia projects",
long_description=long_description,
long_description_content_type="text/markdown",
url='https://www.ingeniamc.com',
project_urls={
"Documentation": get_docs_url(),
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=[],
python_requires='>=3.6',
)