Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make cssselect a package again; fix setup.py accordingly.

  • Loading branch information...
commit fa95b4f242e91ad00a091af5379edb2f50e05a55 1 parent 7624039
@SimonSapin authored
View
3  .gitignore
@@ -2,4 +2,5 @@
*.egg-info
/.tox
/MANIFEST
-docs/_build
+/dist
+/docs/_build
View
3  MANIFEST.in
@@ -0,0 +1,3 @@
+include AUTHORS CHANGES LICENSE README tox.ini
+recursive-include docs *
+prune docs/_build
View
0  cssselect.py → cssselect/__init__.py
File renamed without changes
View
0  test_cssselect.py → cssselect/tests.py
File renamed without changes
View
2  setup.cfg
@@ -6,3 +6,5 @@ build-dir = docs/_build
[upload_sphinx] # Sphinx-PyPI-upload
upload-dir = docs/_build/html
+[pytest]
+python_files=tests.py
View
2  setup.py
@@ -18,7 +18,7 @@
url='http://packages.python.org/cssselect/',
license='BSD',
install_requires='lxml',
- py_modules = ['cssselect', 'test_cssselect'], # XXX include the tests?
+ packages=['cssselect'],
test_suite='test_cssselect',
classifiers=[
'Development Status :: 4 - Beta',
View
2  tox.ini
@@ -3,4 +3,4 @@ envlist = py24,py25,py26,py27,py31,py32
[testenv]
deps=lxml
-commands = python test_cssselect.py
+commands = python cssselect/tests.py
Please sign in to comment.
Something went wrong with that request. Please try again.