You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current setup.py script is missing important metadata and configuration details required for a proper PyPI release. This includes author information, description, long description, URL, dependencies, classifiers, and Python version requirements.
Description: Add description and long_description.
URL: Add url for the project homepage.
Dependencies: Read dependencies from requirements.txt.
Classifiers: Add appropriate classifiers.
Python Version: Specify the required Python version.
Proposed setup.py
fromsetuptoolsimportsetup, find_packagesdefread_requirements():
withopen('requirements.txt') asf:
returnf.read().splitlines()
setup(
name='YouTubeWikiBot',
version='0.1',
author='Luis Imperial',
author_email='[email protected]',
description='A bot to create a database of the most popular creators on YouTube.',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
url='https://github.com/yourusername/YouTubeWikiBot',
packages=find_packages(where='src'),
package_dir={'': 'src'},
install_requires=read_requirements(),
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
python_requires='>=3.6',
)
Steps to Reproduce
Open the current setup.py file.
Observe the lack of metadata and configuration details.
Expected Behavior
The setup.py script should include all necessary metadata and configuration details for a proper PyPI release.
Additional Context
Including this information will ensure the package is correctly configured for distribution on PyPI and will provide users with essential details about the project.
Please update the setup.py script accordingly.
The text was updated successfully, but these errors were encountered:
The current
setup.py
script is missing important metadata and configuration details required for a proper PyPI release. This includes author information, description, long description, URL, dependencies, classifiers, and Python version requirements.Current
setup.py
Required Updates
author
andauthor_email
.description
andlong_description
.url
for the project homepage.requirements.txt
.Proposed setup.py
Steps to Reproduce
setup.py
file.Expected Behavior
The
setup.py
script should include all necessary metadata and configuration details for a proper PyPI release.Additional Context
Including this information will ensure the package is correctly configured for distribution on PyPI and will provide users with essential details about the project.
Please update the
setup.py
script accordingly.The text was updated successfully, but these errors were encountered: