Then use:
[options.entry_points] console_scripts = mycmd = my_package.cli:main setup -file-
[metadata] name = my_package version = 0.1.0 author = Your Name [options] packages = find: install_requires = requests numpy Then use: [options
Here’s a useful, general-purpose guide for understanding and working with a (e.g., setup.py , setup.cfg , setup.sh , or an installer configuration file). setup -file-
#!/bin/bash # setup.sh - environment setup echo "Setting up environment..." python3 -m venv venv source venv/bin/activate pip install -r requirements.txt echo "Setup complete."
Run:
pip install . For non-Python projects: