forked from Flying-Free/pyopenproject
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (27 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
import os
import setuptools
from pip._internal.req import parse_requirements
VERSION = os.getenv('VERSION')
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
# parse_requirements() returns generator of pip.req.InstallRequirement objects
install_requirements = parse_requirements('requirements.txt', session='hack')
requirements = [str(ir.requirement) for ir in install_requirements]
setuptools.setup(
name="pyopenproject", # Replace with your own username
version=VERSION,
author="Alan Padierna Fernández",
author_email="[email protected]",
description="Python library to manage OpenProject API endpoints",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Flying-Free/python-openproject-api",
packages=setuptools.find_packages(),
install_requires=requirements,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
)