forked from OneIdentity/bldr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·61 lines (54 loc) · 1.8 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
56
57
58
59
60
61
#!/usr/bin/env python3
import glob
import os
from pathlib import Path
from setuptools import setup, find_packages
from bldr.version import get_version
def get_package_data():
package_data = []
for path in glob.glob('bldr/data/**/*', recursive=True):
if os.path.isfile(path):
package_data.append(path.split('/', 1)[1])
return package_data
with open("README.md") as readme:
LONG_DESCRIPTION = readme.read()
setup(
name='bldr',
author_email="noreply@oneidentity.com",
author="BLDR Developers",
url="https://www.github.com/OneIdentity/bldr",
description="Build debian packages in a clean docker environment",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
version=get_version(),
packages=find_packages(include=["bldr*"]),
install_requires=Path('requirements.txt').read_text(),
entry_points={
"console_scripts": [
"bldr = bldr.cli:main",
]
},
extras_require={
'dev': Path('requirements-dev.txt').read_text(),
},
python_requires=">=3.8",
package_data={'bldr': [
'VERSION',
] + get_package_data()},
license="MIT",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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",
"Topic :: System :: Systems Administration",
"Topic :: Utilities",
],
)