次のコマンドを使用して、PyPi にパッケージを登録しようとしています。
pyton setup.py register
しかし、次のエラーが発生します。
Server response (500): <urlopen error [Errno -2] Name or service not known>
~/.pypirc ファイルを削除して、コマンドを再発行しようとしましたが、それでも同じエラーが発生します。私の setup.py スクリプトは次のとおりです。
from setuptools import setup
from setuptools import find_packages
setup(
name="xxxxx",
version="0.0.1",
author="someone",
author_email="someone@gmail.com",
url="https://github.com/someone",
packages=['folder_name',],
license="MIT License",
description = " Sample Description",
long_description = open("README").read(),
install_requires = ["python-mwapi"],
)