pypa / packaging-problems

An issue tracker for the problems in packaging
146 stars 34 forks source link

ERROR: Could not find a version that satisfies the requirement geth-cloudwatch (from versions: none) #543

Open feraudet opened 3 years ago

feraudet commented 3 years ago

Problem description

Hello,

I get ERROR: Could not find a version that satisfies the requirement geth-cloudwatch (from versions: none) when trying to pip3 install geth-cloudwatch

The package seems uploaded fine : https://pypi.org/project/geth-cloudwatch/

Here the setup.py

import setuptools

with open("README.md", "r") as fh:
    long_description = fh.read()

with open('requirements.txt') as f:
    requirements = f.read().splitlines()

setuptools.setup(
    name="geth-cloudwatch",
    version="0.1.2",
    author="Cyril Feraudet",
    author_email="cyril@feraudet.com",
    py_modules=[],
    scripts=["geth_cloudwatch.py"],
    entry_points = {
        "console_scripts": [
            "geth_cloudwatch=geth_cloudwatch:main"
        ]
    },
    description="Send GETH stats to cloudwatch.",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/Nuagic/geth-cloudwatch",
    packages=setuptools.find_packages(),
    classifiers=[
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: 3.8',
        'Programming Language :: Python :: 3.9'
    ],
    keywords="ethereum geth go-ethereum cloudwatch aws",
    license="MIT",
    install_requires=requirements,
    python_requires='>=3.5',
)

Any idea ?

Thanks in advance,

Cyril

matthewfeickert commented 2 years ago

@feraudet That's because you uploaded an egg to PyPI

egg_no_good

and eggs are not distributions. Valid distributions are sdists and wheels.

Please follow the PyPA's Packaging Python Projects tutorial on how to build and upload distributions.