-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
40 lines (31 loc) · 1.04 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
import os
from typing import List
import setuptools
def get_long_description() -> str:
with open('Readme.md') as fh:
return fh.read()
def get_required() -> List[str]:
with open('requirements.txt') as fh:
return fh.read().splitlines()
def get_version():
with open(os.path.join('language_conditioned_rl', '__init__.py')) as fh:
for line in fh:
if line.startswith('__version__ = '):
return line.split()[-1].strip().strip("'")
setuptools.setup(
name='language_conditioned_rl',
packages=setuptools.find_packages(),
version='0.0.5',
license='MIT',
description='Language Conditioned RL Repo',
author='Valay Dave',
include_package_data=True,
author_email='[email protected]',
url='https://github.com/valayDave/language-conditioned-irl',
long_description=get_long_description(),
long_description_content_type='text/markdown',
keywords=[],
install_requires=get_required(),
python_requires='>=3.6',
py_modules=['language_conditioned_rl', ],
)