File tree Expand file tree Collapse file tree 5 files changed +25
-11
lines changed
Expand file tree Collapse file tree 5 files changed +25
-11
lines changed Original file line number Diff line number Diff line change 11* .pyc
2+ __pycache__
23* .egg-info
3- build
4- dist
4+ / build
5+ / dist
56/bin
67/include
78/lib
@@ -12,3 +13,5 @@ nosetests.xml
1213.tox
1314.idea
1415.cache
16+ /.noseids
17+ /.venv
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ PY := .venv/bin/python
44PIP := .venv/bin/pip
55PEP8 := .venv/bin/pep8
66NOSE := .venv/bin/nosetests
7+ TWINE := twine
78
89# ###########
910# Tests rule!
@@ -12,22 +13,24 @@ NOSE := .venv/bin/nosetests
1213test : venv develop $(NOSE )
1314 $(NOSE ) --with-id -s tests
1415
15- $(NOSE ) :
16- $(PIP ) install nose pep8 coverage
16+ $(NOSE ) : setup
1717
1818# #######
1919# INSTALL
2020# #######
2121.PHONY : all
22- all : venv develop
22+ all : setup develop
2323
2424venv : .venv/bin/python
2525
26+ setup : venv
27+ $(PIP ) install -r requirements-dev.txt
28+
2629.venv/bin/python :
2730 virtualenv .venv
2831
29- .PHONY : clean_venv
30- clean_venv :
32+ .PHONY : clean
33+ clean :
3134 rm -rf .venv
3235
3336develop : .venv/lib/python* /site-packages/readability-lxml.egg-link
@@ -48,11 +51,12 @@ clean_all: clean_venv
4851# ###########
4952.PHONY : dist
5053dist :
51- $(PY ) setup.py sdist
54+ $(PY ) setup.py sdist bdist_wheel
55+ $(TWINE ) check dist/*
5256
5357.PHONY : upload
5458upload :
55- $(PY ) setup.py sdist upload
59+ $(TWINE ) upload dist/ *
5660
5761.PHONY : version_update
5862version_update :
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ Change Log
5252- 0.3 Added Document.encoding, positive\_ keywords and negative\_ keywords
5353
5454Licensing
55- --------
55+ ---------
5656
5757This code is under `the Apache License
58582.0 <http://www.apache.org/licenses/LICENSE-2.0> `__ license.
Original file line number Diff line number Diff line change 1+ lxml
2+ chardet
3+ nose
4+ pep8
5+ coverage
6+ timeout_decorator
Original file line number Diff line number Diff line change @@ -48,9 +48,10 @@ def find_version(*file_paths):
4848 version = find_version ("readability" , "__init__.py" ),
4949 author = "Yuri Baburov" ,
5050 author_email = "burchik@gmail.com" ,
51- description = "fast html to text parser (article readability tool) with python3 support" ,
51+ description = "fast html to text parser (article readability tool) with python 3 support" ,
5252 test_suite = "tests.test_article_only" ,
5353 long_description = open ("README.rst" ).read (),
54+ long_description_content_type = 'text/x-rst' ,
5455 license = "Apache License 2.0" ,
5556 url = "http://github.com/buriy/python-readability" ,
5657 packages = ["readability" , "readability.compat" ],
You can’t perform that action at this time.
0 commit comments