-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
51 lines (42 loc) · 1.51 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
41
42
43
44
45
46
47
48
49
50
51
from setuptools import setup, find_packages
import os
import glob
# Import the special test runner, which tests
# both mysqlclient and pymysql substrates:
import sys
sys.path.append(os.path.os.path.dirname(__file__))
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name = "rnn-encoder-decoder-pytorch",
version = "0.0.1",
packages = find_packages(),
# Dependencies on other packages:
# Couldn't get numpy install to work without
# an out-of-band: sudo apt-get install python-dev
setup_requires = [],
install_requires = [
'numpy>=1.18.4',
'torch>=1.5.0',
],
tests_require = ['sentinels>=0.0.6',
'shutilwhich>=1.1.0',
],
# Unit tests; they are initiated via:
#
# 'python setup.py test [-v]'
#
# If -v is provided, each test case is announced.
# The test runner is in pymysql_utils.test_framework.py.
# Must use <package>:<module> notation:
test_runner = 'pymysql_utils:test_framework.MyTestRunner',
# Metadata for upload to PyPI
author = "Siddhartha Jagannath",
author_email = "sjagannath@stanford.edu",
long_description_content_type = "text/markdown",
description = "RNN to classify Google queries",
long_description = long_description,
license = "BSD",
keywords = "MySQL",
url = "https://github.com/threelittlemonkeys/rnn-encoder-decoder-pytorch", # project home page
)