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
4b0408a1
Commit
4b0408a1
authored
Jan 20, 2021
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove easy_install script and module.
parent
ea22005e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
25 deletions
+3
-25
easy_install.py
easy_install.py
+0
-5
setup.cfg
setup.cfg
+0
-1
setup.py
setup.py
+0
-17
setuptools/tests/test_namespaces.py
setuptools/tests/test_namespaces.py
+3
-2
No files found.
easy_install.py
deleted
100644 → 0
View file @
ea22005e
"""Run the EasyInstall command"""
if
__name__
==
'__main__'
:
from
setuptools.command.easy_install
import
main
main
()
setup.cfg
View file @
4b0408a1
...
...
@@ -24,7 +24,6 @@ project_urls =
[options]
packages = find_namespace:
py_modules = easy_install
# disabled as it causes tests to be included #2505
# include_package_data = true
python_requires = >=3.6
...
...
setup.py
View file @
4b0408a1
...
...
@@ -30,22 +30,6 @@ def read_commands():
return
command_ns
[
'__all__'
]
def
_gen_console_scripts
():
yield
"easy_install = setuptools.command.easy_install:main"
# Gentoo distributions manage the python-version-specific scripts
# themselves, so those platforms define an environment variable to
# suppress the creation of the version-specific scripts.
var_names
=
(
'SETUPTOOLS_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT'
,
'DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT'
,
)
if
any
(
os
.
environ
.
get
(
var
)
not
in
(
None
,
""
,
"0"
)
for
var
in
var_names
):
return
tmpl
=
"easy_install-{shortver} = setuptools.command.easy_install:main"
yield
tmpl
.
format
(
shortver
=
'{}.{}'
.
format
(
*
sys
.
version_info
))
package_data
=
dict
(
setuptools
=
[
'script (dev).tmpl'
,
'script.tmpl'
,
'site-patch.py'
],
)
...
...
@@ -170,7 +154,6 @@ setup_params = dict(
"depends.txt = setuptools.command.egg_info:warn_depends_obsolete"
,
"dependency_links.txt = setuptools.command.egg_info:overwrite_arg"
,
],
"console_scripts"
:
list
(
_gen_console_scripts
()),
},
dependency_links
=
[
pypi_link
(
...
...
setuptools/tests/test_namespaces.py
View file @
4b0408a1
...
...
@@ -62,8 +62,9 @@ class TestNamespaces:
target
.
mkdir
()
install_cmd
=
[
sys
.
executable
,
'-m'
,
'easy_install'
,
'-d'
,
str
(
target
),
'-m'
,
'pip'
,
'install'
,
'-t'
,
str
(
target
),
str
(
pkg
),
]
with
test
.
test
.
paths_on_pythonpath
([
str
(
target
)]):
...
...
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