-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
36 lines (29 loc) · 1.03 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
#!/usr/bin/env python
# old functional:
from distutils.core import setup
import setuptools
import os
# try:
from setuptools import setup
# except ImportError:
# from distutils.core import setup, find_packages
def read_requirements():
"""parses requirements from requirements.txt"""
reqs_path = os.path.join(".", "requirements.txt")
install_reqs = parse_requirements(reqs_path, session=PipSession())
reqs = [str(ir.req) for ir in install_reqs]
return reqs
setup(
name="scomplexity",
version="1.0",
description="heavily applied scraping, crawling and language analysis, tightly coupled with the goal of analysing scientific discourse",
author="various",
author_email="[email protected]",
url="https://github.com/russelljjarvis/ScienceAccessibility",
packages=setuptools.find_packages(),
)
# os.system('sudo bash pip install -r requirements.txt')
# os.system('sudo bash install/user_install.sh')
# import nltk
# import nltk; nltk.download('punkt')
# import nltk; nltk.download('stopwords')