-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
34 lines (28 loc) · 1021 Bytes
/
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
import os
from setuptools import find_packages
from setuptools import setup
with open("README.md") as readme_file:
readme = readme_file.read()
def get_all_files_in_directory(directory: str):
ret = []
for dirpath, _, files in os.walk(directory):
for f in files:
ret.append(os.path.join(dirpath, f))
return ret
setup(
name="rsp",
version="0.0.1",
url="git@github.com:SchweizerischeBundesbahnen/rsp.git",
author="Erik Nygren, Christian Eichenberger, Adrian Egli, Christian Baumberger",
author_email="author@gmail.com",
description="Description of my package",
long_description=readme,
long_description_content_type="text/markdown",
packages=find_packages(where="src/python"),
package_dir={"rsp": "src/python/rsp"},
# TODO requirements see tox.ini
install_requires=[],
include_package_data=True,
data_files=[("asp", get_all_files_in_directory("src/asp")), ("tests", get_all_files_in_directory("tests"))],
zip_safe=False,
)