-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
41 lines (36 loc) · 1.18 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
import re
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open("obs/__init__.py", "r", encoding="utf8") as f:
version = re.search(r'__version__ = "(.*?)"', f.read()).group(1)
with open("README.rst", "rb") as f:
readme = f.read().decode("utf-8")
with open("requirements.txt", "rb") as f:
requirements = f.read().decode("utf-8")
setup(
name="neo-obs",
version=version,
description="A OBS command line tools",
long_description=readme,
long_description_content_type="text/x-rst",
url="https://github.com/BiznetGIO/neo-obs",
author="BiznetGio",
author_email="[email protected]",
license="MIT license",
classifiers=[
"Intended Audience :: Developers",
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
],
keywords="cli",
include_package_data=True,
packages=["obs"],
install_requires=requirements,
entry_points={"console_scripts": ["obs=obs.cli.main:cli"]},
)