Skip to content

Commit

Permalink
Fixing module/setup
Browse files Browse the repository at this point in the history
  • Loading branch information
pltrdy committed Jul 7, 2017
1 parent 46efda1 commit 0a410c7
Show file tree
Hide file tree
Showing 51 changed files with 97 additions and 5 deletions.
89 changes: 89 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# 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/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# IPython Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# dotenv
.env

# virtualenv
venv/
ENV/

# Spyder project settings
.spyderproject

# Rope project settings
.ropeproject
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Any feedbacks or comments are welcome.
git clone https://github.com/pltrdy/pythonrouge.git
# install using pip
pip install .
sudo python setup.py install
```

**2) Import and use**
Expand Down
Empty file removed __init__.py
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions pythonrouge/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from pythonrouge import pythonrouge

__version__ = "0.3"
File renamed without changes.
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
from setuptools import setup

from setuptools import setup, find_packages
import pythonrouge
setup(
name="pythonrouge",
version="0.2",
version=pythonrouge.__version__,
description="ROUGE script using python",
url="http://github.com/tagucci/pythonrouge",
author="tagucci",
author_email="taguchi.yuya.to0@is.naist.jp",
keywords=["NL", "CL", "natural language processing", "computational linguistics", "summarization"],
packages=["./"],
packages=find_packages(),
package_data={
'pythonrouge': ['ROUGE-1.5.5/*.*',
'ROUGE-1.5.5/XML/*.*',
Expand Down

0 comments on commit 0a410c7

Please sign in to comment.