Updated .gitignore and Makefile
This commit is contained in:
parent
5693ec0558
commit
3daed19d9d
|
@ -0,0 +1,129 @@
|
|||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
||||
# Distribution / packaging
|
||||
.Python
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
eggs/
|
||||
.eggs/
|
||||
lib/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
var/
|
||||
wheels/
|
||||
pip-wheel-metadata/
|
||||
share/python-wheels/
|
||||
*.egg-info/
|
||||
.installed.cfg
|
||||
*.egg
|
||||
MANIFEST
|
||||
|
||||
# PyInstaller
|
||||
# Usually these files are written by a python script from a template
|
||||
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
||||
*.manifest
|
||||
*.spec
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
pip-delete-this-directory.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
htmlcov/
|
||||
.tox/
|
||||
.nox/
|
||||
.coverage
|
||||
.coverage.*
|
||||
.cache
|
||||
nosetests.xml
|
||||
coverage.xml
|
||||
*.cover
|
||||
*.py,cover
|
||||
.hypothesis/
|
||||
.pytest_cache/
|
||||
|
||||
# Translations
|
||||
*.mo
|
||||
*.pot
|
||||
|
||||
# Django stuff:
|
||||
*.log
|
||||
local_settings.py
|
||||
db.sqlite3
|
||||
db.sqlite3-journal
|
||||
|
||||
# Flask stuff:
|
||||
instance/
|
||||
.webassets-cache
|
||||
|
||||
# Scrapy stuff:
|
||||
.scrapy
|
||||
|
||||
# Sphinx documentation
|
||||
docs/_build/
|
||||
|
||||
# PyBuilder
|
||||
target/
|
||||
|
||||
# Jupyter Notebook
|
||||
.ipynb_checkpoints
|
||||
|
||||
# IPython
|
||||
profile_default/
|
||||
ipython_config.py
|
||||
|
||||
# pyenv
|
||||
.python-version
|
||||
|
||||
# pipenv
|
||||
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
||||
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
||||
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
||||
# install all needed dependencies.
|
||||
#Pipfile.lock
|
||||
|
||||
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
||||
__pypackages__/
|
||||
|
||||
# Celery stuff
|
||||
celerybeat-schedule
|
||||
celerybeat.pid
|
||||
|
||||
# SageMath parsed files
|
||||
*.sage.py
|
||||
|
||||
# Environments
|
||||
.env
|
||||
.venv
|
||||
env/
|
||||
venv/
|
||||
ENV/
|
||||
env.bak/
|
||||
venv.bak/
|
||||
|
||||
# Spyder project settings
|
||||
.spyderproject
|
||||
.spyproject
|
||||
|
||||
# Rope project settings
|
||||
.ropeproject
|
||||
|
||||
# mkdocs documentation
|
||||
/site
|
||||
|
||||
# mypy
|
||||
.mypy_cache/
|
||||
.dmypy.json
|
||||
dmypy.json
|
||||
|
||||
# Pyre type checker
|
||||
.pyre/
|
36
Makefile
36
Makefile
|
@ -1,43 +1,31 @@
|
|||
clean:
|
||||
# APT Mod
|
||||
rm -rf mods/apt/build
|
||||
rm -rf mods/apt/dist
|
||||
rm -rf mods/apt/coffeehouse_dltc.egg-info
|
||||
rm -rf mods/apt/build mods/apt/dist mods/apt/coffeehousemod_apt.egg-info
|
||||
|
||||
# Stopwords Mod
|
||||
rm -rf mods/stopwords/build
|
||||
rm -rf mods/stopwords/dist
|
||||
rm -rf mods/stopwords/coffeehouse_dltc.egg-info
|
||||
rm -rf mods/stopwords/build mods/stopwords/dist mods/stopwords/coffeehousemod_stopwords.egg-info
|
||||
|
||||
# Tokenizer Mod
|
||||
rm -rf mods/tokenizer/build
|
||||
rm -rf mods/tokenizer/dist
|
||||
rm -rf mods/tokenizer/coffeehouse_dltc.egg-info
|
||||
rm -rf mods/tokenizer/build mods/tokenizer/dist mods/tokenizer/coffeehousemod_tokenizer.egg-info
|
||||
|
||||
# Deep Learning Text Classification
|
||||
rm -rf dltc/build
|
||||
rm -rf dltc/dist
|
||||
rm -rf dltc/coffeehouse_dltc.egg-info
|
||||
rm -rf dltc/build dltc/dist dltc/coffeehouse_dltc dltc/coffeehouse_dltc.egg-info
|
||||
|
||||
build:
|
||||
# APT Mod
|
||||
python3 mods/apt/setup.py build
|
||||
python3 mods/apt/setup.py sdist
|
||||
cd mods/apt; python3 setup.py build; python3 setup.py sdist
|
||||
|
||||
# Stopwords Mod
|
||||
python3 mods/stopwords/setup.py build
|
||||
python3 mods/stopwords/setup.py sdist
|
||||
cd mods/stopwords; python3 setup.py build; python3 setup.py sdist
|
||||
|
||||
# Tokenizer Mod
|
||||
python3 mods/tokenizer/setup.py build
|
||||
python3 mods/tokenizer/setup.py sdist
|
||||
cd mods/tokenizer; python3 setup.py build; python3 setup.py sdist
|
||||
|
||||
# Deep Learning Text Classification
|
||||
python3 dltc/setup.py build
|
||||
python3 dltc/setup.py sdist
|
||||
cd dltc; python3 setup.py build; python3 setup.py sdist
|
||||
|
||||
install:
|
||||
python3 mods/apt/setup.py install
|
||||
python3 mods/stopwords/setup.py install
|
||||
python3 mods/tokenizer/setup.py install
|
||||
python3 dltc/setup.py install
|
||||
cd mods/apt; python3 setup.py install
|
||||
cd mods/stopwords; python3 setup.py install
|
||||
cd mods/tokenizer; python3 setup.py install
|
||||
cd dltc; python3 setup.py install
|
Loading…
Reference in New Issue