-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
executable file
·55 lines (45 loc) · 1.68 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
49
50
51
52
53
54
55
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from sys import version_info
from setuptools import setup, find_packages
def get_requires():
requirements = []
def _filter(requires):
return [req.strip() for req in requires if req.strip()]
with open("requirements.txt", "r") as fh:
requirements += _filter(fh.readlines())
if version_info.minor < 8:
with open("requirements_pre38.txt", "r") as fh:
requirements += _filter(fh.readlines())
return requirements
with open("README.md") as fh:
long_description = fh.read()
setup(
name='osc-tiny',
version='0.10.5',
description='Client API for openSUSE BuildService',
long_description=long_description,
long_description_content_type="text/markdown",
author='Andreas Hasenkopf',
author_email='[email protected]',
maintainer='SUSE Maintenance Automation Engineering team',
maintainer_email='[email protected]',
url='https://github.com/SUSE/osc-tiny',
packages=find_packages(),
license='MIT',
install_requires=get_requires(),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
)