Skip to content

Commit

Permalink
Update management files
Browse files Browse the repository at this point in the history
  • Loading branch information
e9t committed Mar 1, 2015
1 parent 0badfae commit 82a6f0c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 13 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*.log
*.project
*.pyc
*.settings/
build/
dist/
docs/_build/
Expand Down
30 changes: 18 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# 1. Check changelogs.rst
# 2. Check translations at docs/locale/ko/LC_MESSAGES/*.po
# 3. Check version at konlpy/__init__.py
# 4. $ sudo make testpypi
# 5. $ sudo make pypi # Beware not to change the version number at this stage!!!
# 4. $ make testpypi
# 5. $ make pypi # Beware not to change the version number at this stage!!!
# 6. Document update at RTD (latest)
# 7. Push tag
# 8. Document update at RTD (current version)
Expand All @@ -15,18 +15,24 @@ check:
pyroma dist/konlpy-*tar.gz

testpypi:
./reinstall
python setup.py register -r pypitest
python setup.py sdist --formats=gztar,zip upload -r pypitest
python setup.py bdist_wheel upload -r pypitest
pip install -i https://testpypi.python.org/pypi konlpy --upgrade
sudo python setup.py register -r pypitest
sudo python setup.py sdist --formats=gztar,zip upload -r pypitest
sudo python setup.py bdist_wheel upload -r pypitest
# Execute below manually
# cd /tmp
# virtualenv venv
# source venv/bin/activate
# pip install -i https://testpypi.python.org/pypi konlpy
# deactivate
# virtualenv-3.4 venv3
# source venv3/bin/activate
# pip3 install -i https://testpypi.python.org/pypi konlpy
# deactivate

pypi:
./reinstall
python setup.py register -r pypi
python setup.py sdist --formats=gztar,zip upload -r pypi
python setup.py bdist_wheel upload -r pypi
pip install konlpy --upgrade
sudo python setup.py register -r pypi
sudo python setup.py sdist --formats=gztar,zip upload -r pypi
sudo python setup.py bdist_wheel upload -r pypi

jcc:
python -m jcc \
Expand Down
3 changes: 2 additions & 1 deletion TODOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
- nltk 데이터 폴더 구조 참고해서 그처럼 저장하기?
- Employ [pkgutil](https://docs.python.org/2/library/pkgutil.html)
- Add utagger (http://203.250.77.242:5900/default.aspx)
- Add komoran (http://shineware.tistory.com/entry/KOMORAN-10)

# bugs
- 왜 parenthesis에서 제대로 안 나뉠까? 또 어떤 경우엔 나뉨...
- zip_safe 설정

0 comments on commit 82a6f0c

Please sign in to comment.