-
Notifications
You must be signed in to change notification settings - Fork 128
/
setup.py
36 lines (31 loc) · 1.18 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
import setuptools
import os
from io import open as io_open
src_dir = os.path.abspath(os.path.dirname(__file__))
with open("README.md", "r") as fh:
long_description = fh.read()
# Build requirements
extras_require = {}
requirements_dev = os.path.join(src_dir, 'requirements-dev.txt')
with io_open(requirements_dev, mode='r') as fd:
extras_require['dev'] = [i.strip().split('#', 1)[0].strip()
for i in fd.read().strip().split('\n')]
setuptools.setup(
name="the-pile",
version="0.0.1",
author="EleutherAI",
author_email="[email protected]",
description="The Pile is a large, diverse, open source language modelling data set that consists of many smaller datasets combined together.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/EleutherAI/the-pile",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
extras_require=extras_require,
packages=['the_pile'],
package_data={'the_pile': ['LICENCE', 'requirements-dev.txt']},
)