mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Add "servo-tidy" entry point
- also update requriements "pyflakes" from 0.8 to 0.8.1 due to following issue ``` Traceback (most recent call last): File "/Users/Askeing/software/servo/python/_virtualenv/bin/servo-tidy", line 5, in <module> from pkg_resources import load_entry_point File "/Users/Askeing/software/servo/python/_virtualenv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3084, in <module> @_call_aside File "/Users/Askeing/software/servo/python/_virtualenv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3070, in _call_aside f(*args, **kwargs) File "/Users/Askeing/software/servo/python/_virtualenv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3097, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/Users/Askeing/software/servo/python/_virtualenv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 653, in _build_master return cls._build_from_requirements(__requires__) File "/Users/Askeing/software/servo/python/_virtualenv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 666, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/Users/Askeing/software/servo/python/_virtualenv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 839, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'pyflakes==0.8.1' distribution was not found and is required by servo-tidy ```
This commit is contained in:
parent
c723ac6401
commit
922840852a
2 changed files with 6 additions and 1 deletions
|
@ -9,7 +9,7 @@ toml == 0.9.1
|
||||||
# For Python linting
|
# For Python linting
|
||||||
flake8 == 2.4.1
|
flake8 == 2.4.1
|
||||||
pep8 == 1.5.7
|
pep8 == 1.5.7
|
||||||
pyflakes == 0.8.0
|
pyflakes == 0.8.1
|
||||||
|
|
||||||
# For test-webidl
|
# For test-webidl
|
||||||
ply == 3.8
|
ply == 3.8
|
||||||
|
|
|
@ -49,4 +49,9 @@ if __name__ == '__main__':
|
||||||
package_data={},
|
package_data={},
|
||||||
install_requires=install_requires,
|
install_requires=install_requires,
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
|
entry_points={
|
||||||
|
'console_scripts': [
|
||||||
|
'servo-tidy=servo_tidy.tidy:scan'
|
||||||
|
],
|
||||||
|
},
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue