forked from python-gitlab/python-gitlab
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
48 lines (42 loc) · 1.51 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
42
43
44
45
46
47
48
#!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import find_packages, setup
def get_version():
with open("gitlab/__init__.py") as f:
for line in f:
if line.startswith("__version__"):
return eval(line.split("=")[-1])
with open("README.rst", "r") as readme_file:
readme = readme_file.read()
setup(
name="python-gitlab",
version=get_version(),
description="Interact with GitLab API",
long_description=readme,
author="Gauvain Pocentek",
author_email="gauvain@pocentek.net",
license="LGPLv3",
url="https://github.com/python-gitlab/python-gitlab",
packages=find_packages(),
install_requires=["httpx>=0.18.1,<0.19"],
python_requires=">=3.6.0",
entry_points={"console_scripts": ["gitlab = gitlab.cli:main"]},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Natural Language :: English",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
extras_require={
"autocompletion": ["argcomplete>=1.10.0,<2"],
"yaml": ["PyYaml>=5.2"],
},
)