Move tests to root dir
In essence, tests are not an importable submodule anymore but an independent piece of code that won't be installed in a user's site-packages directory.
This commit is contained in:
parent
abac6e9096
commit
a556030931
|
@ -6,4 +6,4 @@ python:
|
||||||
# command to install dependencies
|
# command to install dependencies
|
||||||
install: "pip install -r requirements.txt --use-mirrors"
|
install: "pip install -r requirements.txt --use-mirrors"
|
||||||
# command to run tests
|
# command to run tests
|
||||||
script: python lesscpy/test/__main__.py -v
|
script: python test/__main__.py -v
|
||||||
|
|
|
@ -2,3 +2,4 @@ include LICENSE
|
||||||
include README.rst
|
include README.rst
|
||||||
include requirements.txt
|
include requirements.txt
|
||||||
include tox.ini
|
include tox.ini
|
||||||
|
recursive-include test *
|
||||||
|
|
7
setup.py
7
setup.py
|
@ -22,14 +22,9 @@ setup(
|
||||||
'lesscpy/lessc',
|
'lesscpy/lessc',
|
||||||
'lesscpy/lib',
|
'lesscpy/lib',
|
||||||
'lesscpy/plib',
|
'lesscpy/plib',
|
||||||
'lesscpy/scripts',
|
'lesscpy/scripts'],
|
||||||
'lesscpy/test'],
|
|
||||||
scripts=['bin/lesscpy'],
|
scripts=['bin/lesscpy'],
|
||||||
install_requires=["ply"],
|
install_requires=["ply"],
|
||||||
package_data={'lesscpy': ['lesscpy/test/css/*.css',
|
|
||||||
'lesscpy/test/css/issues/*.css',
|
|
||||||
'lesscpy/test/less/*.less',
|
|
||||||
'lesscpy/test/less/issues/*.less']},
|
|
||||||
license=license,
|
license=license,
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
)
|
)
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue