-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
38 lines (33 loc) · 959 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
32
33
34
35
36
37
38
"""
This is the setup file for the PIP package.
Copyright 2021 Nathan Nesbitt
"""
from setuptools import setup, find_packages
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="codesummary",
version="1.0.0",
description="A deployable REST API for NLP Code Summarization.",
url="https://github.com/Nathan-Nesbitt/CodeSummary",
author=("Nathan Nesbitt"),
packages=find_packages(),
install_requires=[
"Flask",
"flask-cors",
"werkzeug",
"torch==1.8.1",
"rouge",
"torchtext==0.6",
"matplotlib",
"nltk",
"javalang",
"tqdm",
"spiral @ git+https://github.com/casics/spiral.git"
],
zip_safe=False,
long_description=long_description,
long_description_content_type="text/markdown",
)