forked from facebookresearch/pytext
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
26 lines (19 loc) · 657 Bytes
/
setup.py
File metadata and controls
26 lines (19 loc) · 657 Bytes
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
#!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
import os
import setuptools
DIR = os.path.dirname(__file__)
REQUIREMENTS = os.path.join(DIR, "requirements.txt")
with open(REQUIREMENTS) as f:
reqs = f.read()
setuptools.setup(
name="pytext-nlp",
version="0.1.5",
description="pytorch modeling framework and model zoo for text models",
url="https://github.com/facebookresearch/PyText",
author="Facebook",
license="BSD",
packages=setuptools.find_packages(),
install_requires=reqs.strip().split("\n"),
entry_points={"console_scripts": ["pytext = pytext.main:main"]},
)