I have a Python module which I published to Pip, but I'm having a hard time installing it myself and I'm not really sure why.
Below is the error I'm getting, even though 1.0.3 is indeed published on the registry: https://pypi.org/project/Discord-Webhooks/
Could not find a version that satisfies the requirement Discord-Webhooks==1.0.3 (from -r requirements.txt (line 2)) (from versions: )
No matching distribution found for Discord-Webhooks==1.0.3 (from -r requirements.txt (line 2))
This is what my setup.py file looks like. Running python3 setup.py sdist bdist_wheel produces no errros when building the project.
from setuptools import setup, find_packages
long_description = open('README.md').read()
setup(
name='Discord Webhooks',
version='1.0.3',
py_modules=['discord_webhooks'],
url='https://github.com/JamesIves/discord-webhooks',
author='James Ives',
author_email='email@email.com',
description='Easy to use package for Python which allows for sending of webhooks to a Discord server.',
long_description=long_description,
license='MIT',
install_requires=[
'requests==2.21.0'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Other Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
],
)
Am I missing something here? How come I can't run pip install Discord-Webhooks without an error? I'm running Python 3.6.0.