I am trying to upload my package to PyPI and it uploads successfully every time though when I try to install it, the following error is thrown
ERROR: Could not find a version that satisfies the requirement Google-Ads-Transparency-Scraper==1.4 (from versions: none)
ERROR: No matching distribution found for Google-Ads-Transparency-Scraper==1.4
The following is the directory structure I have
- GoogleAds
- GoogleAdsTransparency
- __init __.py
- main.py
- regions.py
- setup.py
- setup.cfg
- license.txt
- README.md
The setup.py has the following content
"""Install packages as defined in this file into the Python environment."""
from setuptools import setup, find_packages
setup(
name="Google Ads Transparency Scraper",
author="Farhan Ahmed",
author_email="jattfarhan10@gmail.com",
url="https://github.com/faniAhmed/GoogleAdsTransparencyScraper",
description="A scraper for getting Ads from Google Transparency",
version="1.4",
packages=find_packages(),
download_url= 'https://github.com/faniAhmed/GoogleAdsTransparencyScraper/archive/refs/tags/v1.2.tar.gz',
keywords= ['Google', 'Transparency', 'Scraper', 'API', 'Google Ads', 'Ads', 'Google Transparency', 'Google Transparency Scraper', 'Google Ads Scrapre'],
license='Securely Incorporation',
install_requires=[
"setuptools>=45.0",
"beautifulsoup4>=4.12.2",
"Requests>=2.31.0",
"lxml>=4.6.3",
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: Free for non-commercial use",
"Natural Language :: Urdu",
"Operating System :: OS Independent",
"Programming Language :: Python",
],
platforms=["any"],
)
The setup.cfg
[metadata]
description-file = README.md
The init.py has the following content
from GoogleAdsTransparency.main import GoogleAds
from GoogleAdsTransparency.main import show_regions_list
I run the following commands to upload the package
python setup.py sdist
twine upload dist/*
The link to the package is https://pypi.org/project/Google-Ads-Transparency-Scraper/
Thanks for any help in advance
from Can not install module I uploaded
No comments:
Post a Comment