Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
email
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cubicweb
cubes
email
Commits
0b8b9e64467c
Commit
0b8b9e64467c
authored
2 years ago
by
Laurent Peuch
Browse files
Options
Downloads
Patches
Plain Diff
chore: setup.py for python3
parent
60c646503b86
No related branches found
No related tags found
No related merge requests found
Pipeline
#119657
failed
2 years ago
Stage: tests
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
setup.py
+4
-3
4 additions, 3 deletions
setup.py
with
4 additions
and
3 deletions
setup.py
+
4
−
3
View file @
0b8b9e64
...
...
@@ -25,7 +25,8 @@
import
os
import
sys
import
shutil
from
os.path
import
isdir
,
exists
,
join
,
walk
,
dirname
from
os
import
walk
from
os.path
import
isdir
,
exists
,
join
,
dirname
try
:
if
os
.
environ
.
get
(
'
NO_SETUPTOOLS
'
):
...
...
@@ -74,7 +75,7 @@
for
entry
in
(
"
__depends__
"
,):
# "__recommends__"):
requires
.
update
(
pkginfo
.
get
(
entry
,
{}))
install_requires
=
[(
"
%s %s
"
%
(
d
,
v
and
v
or
""
)).
strip
()
for
d
,
v
in
requires
.
iter
items
()]
for
d
,
v
in
requires
.
items
()]
else
:
install_requires
=
[]
...
...
@@ -140,7 +141,7 @@
shutil
.
copy2
(
src
,
dest
)
try
:
os
.
mkdir
(
to_dir
)
except
OSError
,
ex
:
except
OSError
as
ex
:
# file exists ?
import
errno
if
ex
.
errno
!=
errno
.
EEXIST
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment