Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
691e6ac0
Commit
691e6ac0
authored
Aug 27, 2016
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add appdirs as vendored package. Ref #763.
parent
1aa71905
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
557 additions
and
2 deletions
+557
-2
pavement.py
pavement.py
+2
-0
pkg_resources/_vendor/appdirs.py
pkg_resources/_vendor/appdirs.py
+552
-0
pkg_resources/_vendor/packaging/specifiers.py
pkg_resources/_vendor/packaging/specifiers.py
+1
-1
pkg_resources/_vendor/vendored.txt
pkg_resources/_vendor/vendored.txt
+1
-0
pkg_resources/extern/__init__.py
pkg_resources/extern/__init__.py
+1
-1
No files found.
pavement.py
View file @
691e6ac0
...
...
@@ -12,9 +12,11 @@ def remove_all(paths):
@
task
def
update_vendored
():
vendor
=
Path
(
'pkg_resources/_vendor'
)
# pip uninstall doesn't support -t, so do it manually
remove_all
(
vendor
.
glob
(
'packaging*'
))
remove_all
(
vendor
.
glob
(
'six*'
))
remove_all
(
vendor
.
glob
(
'pyparsing*'
))
remove_all
(
vendor
.
glob
(
'appdirs*'
))
install_args
=
[
'install'
,
'-r'
,
str
(
vendor
/
'vendored.txt'
),
...
...
pkg_resources/_vendor/appdirs.py
0 → 100644
View file @
691e6ac0
This diff is collapsed.
Click to expand it.
pkg_resources/_vendor/packaging/specifiers.py
View file @
691e6ac0
...
...
@@ -198,7 +198,7 @@ class _IndividualSpecifier(BaseSpecifier):
(
prereleases
or
self
.
prereleases
)):
found_prereleases
.
append
(
version
)
# Either this is not a prerelease, or we should have been
# accepting prereleases from the begin
n
ing.
# accepting prereleases from the begining.
else
:
yielded
=
True
yield
version
...
...
pkg_resources/_vendor/vendored.txt
View file @
691e6ac0
packaging==16.7
pyparsing==2.1.8
six==1.10.0
appdirs==1.4.0
pkg_resources/extern/__init__.py
View file @
691e6ac0
...
...
@@ -69,5 +69,5 @@ class VendorImporter:
sys
.
meta_path
.
append
(
self
)
names
=
'packaging'
,
'pyparsing'
,
'six'
names
=
'packaging'
,
'pyparsing'
,
'six'
,
'appdirs'
VendorImporter
(
__name__
,
names
).
install
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment