(click here to see my profile on the platform)
The "image_processing-test" package is used for:
-
Processing module:
- Histogram matching;
- Structural similarity;
- Resize image;
-
Utils module:
- Read image;
- Save image;
- Plot image;
- Graph result;
- Plot histogram;
- Installing the latest versions of "setuptools" and "wheel"
py -m pip install --user --upgrade setuptools wheel
- Make sure the directory in the terminal is the same as the "setup.py" file
C:\User\anas\image-processing-package> py setup.py sdist bdist_wheel
-
After completing the installation, check if the following folders have been added to the project:
-
build;
-
dist;
-
image_processing_test.egg-info.
-
Just upload the files, using Twine, to Test Pypi:
py -m twine upload --repository testpypi dist/*
- After running the above command in the terminal, you will be asked to enter your username and password. Once this is done, the project will be hosted on Test Pypi. Host it on Pypi directly.
The goal here is not to use Karina's project to post on my personal Pypi profile, since the project is hers. I don't have any projects that can be used as a package yet.
However, keep in mind that Test Pypi, as its name suggests, is just a testing environment. In order for the project to be available as a package for public use, it is necessary to host it on the official Pypi website. ----------------------------------------------------
- Installing dependencies
pip install -r requirements.txt
- Installing the package
Use the package manager pip install -i https://test.pypi.org/simple/ image-processing-test to install image_processing-test
pip install image-processing-test (Test Pypi)Ana Cunha