modified: LICENSE
modified: README.md new file: requirements.txt
This commit is contained in:
37
README.md
37
README.md
@@ -1,6 +1,35 @@
|
||||
<<<<<<< HEAD
|
||||
# python_template_repository
|
||||
=======
|
||||
# python template repository
|
||||
>>>>>>> 3cfcee4 (Initial commit)
|
||||
|
||||
This is a template repository for Python projects. It includes basic files and directories such as `setup.py`, `requirements.txt`, and a README file.
|
||||
To use this template, you can clone the repository to your local machine using the following command:
|
||||
git clone https://repo.piave7.duckdns.org/Jose/python_template
|
||||
|
||||
Once you have cloned the repository, you can navigate into the project directory and start working on your Python project. You can install the required dependencies by running the following command:
|
||||
|
||||
pip install -r requirements.txt
|
||||
|
||||
You can also create a virtual environment for your project using the following command:
|
||||
|
||||
python -m venv venv
|
||||
|
||||
Once you have created the virtual environment, you can activate it using the appropriate command for your operating system. For example, on Windows, you can run the following command:
|
||||
|
||||
venv\Scripts\activate
|
||||
|
||||
On macOS and Linux, you can run the following command:
|
||||
|
||||
source venv/bin/activate
|
||||
|
||||
You can now start working on your Python project by editing the files in the `src` directory. Once you are done with your work, you can deactivate the virtual environment using the following command:
|
||||
|
||||
deactivate
|
||||
|
||||
To build the project, you can run the following command:
|
||||
|
||||
python setup.py sdist bdist_wheel
|
||||
|
||||
This will create a source distribution and a wheel distribution of your project.
|
||||
To install the project from the source distribution, you can run the following command:
|
||||
|
||||
pip install dist/python_template-0.1.0.tar.gz
|
||||
|
||||
|
||||
Reference in New Issue
Block a user