Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
apachedex
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
apachedex
Commits
b1fcea93
Commit
b1fcea93
authored
Jan 21, 2021
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setup.py: Fix use_2to3 usage.
parent
e07b1f25
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
setup.py
setup.py
+1
-3
No files found.
setup.py
View file @
b1fcea93
...
@@ -3,9 +3,7 @@ from setuptools import setup, find_packages
...
@@ -3,9 +3,7 @@ from setuptools import setup, find_packages
import
hashlib
import
hashlib
import
os
import
os
import
sys
import
sys
extra
=
{}
if
sys
.
version_info
>=
(
3
,
):
if
sys
.
version_info
>=
(
3
,
):
extra
[
'use_2to3'
]
=
True
from
urllib.request
import
urlretrieve
from
urllib.request
import
urlretrieve
else
:
else
:
from
urllib
import
urlretrieve
from
urllib
import
urlretrieve
...
@@ -90,5 +88,5 @@ setup(
...
@@ -90,5 +88,5 @@ setup(
},
},
test_suite
=
'apachedex.tests'
,
test_suite
=
'apachedex.tests'
,
zip_safe
=
True
,
zip_safe
=
True
,
**
extra
use_2to3
=
True
,
)
)
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