forked from nico-bohlinger/one_policy_to_run_them_all
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
31 lines (25 loc) · 908 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
import os
from setuptools import setup
import pathlib
here = pathlib.Path(__file__).parent.resolve()
long_description = (here / "README.md").read_text(encoding="utf-8")
# print(long_description)
def read_requirements_file(filename):
file_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), filename)
with open(file_path) as f:
return [line.strip() for line in f]
# x = read_requirements_file("requirements.txt")
# import pdb
# pdb.set_trace()
setup(
name="one_policy_to_run_them_all",
description="one_policy_to_run_them_all",
long_description=long_description,
url="https://github.com/nico-bohlinger/one_policy_to_run_them_all",
author="Nico Bohlinger",
author_email="[email protected]",
version="0.0.1",
packages=["one_policy_to_run_them_all"],
install_requires=read_requirements_file("requirements.txt"),
license="MIT",
)