Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed PyPI commands (register, upload) and supporting logic. #294

Merged
merged 1 commit into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,29 +82,6 @@ def temp_cwd(tmp_path):
yield


@pytest.fixture
def pypirc(request, save_env, distutils_managed_tempdir):
from distutils.core import Distribution, PyPIRCCommand

self = request.instance
self.tmp_dir = self.mkdtemp()
os.environ['HOME'] = self.tmp_dir
os.environ['USERPROFILE'] = self.tmp_dir
self.rc = os.path.join(self.tmp_dir, '.pypirc')
self.dist = Distribution()

class command(PyPIRCCommand):
def __init__(self, dist):
super().__init__(dist)

def initialize_options(self):
pass

finalize_options = initialize_options

self._cmd = command


# from pytest-dev/pytest#363
@pytest.fixture(scope="session")
def monkeysession(request):
Expand Down
2 changes: 0 additions & 2 deletions distutils/command/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@
'install_scripts',
'install_data',
'sdist',
'register',
'bdist',
'bdist_dumb',
'bdist_rpm',
'check',
'upload',
]
311 changes: 0 additions & 311 deletions distutils/command/register.py

This file was deleted.

Loading
Loading