-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (26 loc) · 811 Bytes
/
setup.py
File metadata and controls
31 lines (26 loc) · 811 Bytes
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
import os
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
def get_requirements():
"""Parse all packages mentioned in the 'requirements.txt' file."""
with open("requirements.txt") as file_stream:
return file_stream.read().splitlines()
setup(
name="frambo",
version="0.0.3",
packages=find_packages(exclude=["tests"]),
install_requires=get_requirements(),
url="https://github.com/user-cont/frambo",
license="GPLv3+",
author="Usercont",
author_email="user-cont-team@redhat.com",
package_data={
"frambo": [
os.path.join("data", "schemas", "*.json"),
os.path.join("data", "conf.d", "*.yml"),
os.path.join("data", "defaults", "*.yml"),
]
},
)