-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
31 lines (28 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
from setuptools import setup, find_packages
# read the contents of your README file
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
lines = f.readlines()
# remove images from README
lines = [x for x in lines if (('.png' not in x) and ('.gif' not in x))]
long_description = ''.join(lines)
setup(
name="lflf",
packages=[
package for package in find_packages() if package.startswith("lflf")
],
install_requires=[
"h5py",
],
eager_resources=['*'],
include_package_data=True,
python_requires='>=3',
description="lflf: Learning from Language Feedback",
author="",
url="[email protected]:huihanl/LfLF",
author_email="[email protected]",
version="0.1",
long_description=long_description,
long_description_content_type='text/markdown'
)