From 07a3d11a72b8bd1c34d44430472268f547064c3d Mon Sep 17 00:00:00 2001 From: Russell Jarvis <rjjarvis@asu.edu> Date: Mon, 29 Jun 2020 17:54:25 +1000 Subject: [PATCH] changes before ant --- README.md | 9 +++++++-- install/user_install.sh | 1 - setup.py | 20 ++++++++++++-------- 3 files changed, 19 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 88f1057..5ef25cb 100644 --- a/README.md +++ b/README.md @@ -14,11 +14,16 @@ cd ScienceAccess ``` +**Requirements** +Unix/Linux/OSX type OS with BASH -**Installation Apple** +**Installation** ``` -sudo bash user_install.sh +which python3 +``` +place output from above command in +sudo [output] setup.py install ``` **Run** diff --git a/install/user_install.sh b/install/user_install.sh index a708b72..cc973c3 100644 --- a/install/user_install.sh +++ b/install/user_install.sh @@ -41,4 +41,3 @@ fi # sudo bash install_python3.sh #fi sudo bash install/gecko_install.sh -sudo bash install/part2.sh diff --git a/setup.py b/setup.py index cf1fdf6..a9fec82 100644 --- a/setup.py +++ b/setup.py @@ -1,14 +1,14 @@ #!/usr/bin/env python # old functional: -#from distutils.core import setup -#import setuptools +from distutils.core import setup +import setuptools -# new dysfunctional. -try: - from setuptools import setup -except ImportError: - from distutils.core import setup, find_packages +import os +#try: +from setuptools import setup +#except ImportError: + #from distutils.core import setup, find_packages def read_requirements(): @@ -26,4 +26,8 @@ setup(name='scomplexity', author_email='don_t_email_we_are_on_github@gmail.com', url='https://github.com/russelljjarvis/ScienceAccessibility', packages = setuptools.find_packages() - ) + ) +import nltk +import nltk; nltk.download('punkt') +import nltk; nltk.download('stopwords') +os.system('bash install/user_install.sh') \ No newline at end of file -- GitLab