Setup -file- -

[metadata] name = my_package version = 0.1.0 author = Your Name [options] packages = find: install_requires = requests numpy

#!/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." setup -file-

pip install . For non-Python projects:

Then use:

Run:

[options.entry_points] console_scripts = mycmd = my_package.cli:main [metadata] name = my_package version = 0

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). or an installer configuration file).

Adblock
detector