python3
cv2
numpy
- Create virtual environment and activate it
python3 -m venv venv_easy_roi
source venv_easy_roi/bin/activate
- install requirements.txt
pip3 install -r requirements.txt
git clone https://github.com/saharshleo/easyROI.git
python dev_main.py
-
Create
setup.py
-
Create
README.md
-
Folder structure should be
easyROI .
├── EasyROI
│ ├── init.py
│ ├── utils.py
│ └── easyROI.py
├── setup.py
├── LICENSE
└── README.md -
Create packaging environment
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
pip3 install wheel
pip3 install twine
- Creating wheel file
python setup.py sdist bdist_wheel
- Publishing
python -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
- For testing published library
- Create testing environment
python3 -m venv venv_test
source venv_test/bin/activate
- Install or Upgrade
EasyROI
pip3 install EasyROI
OR
pip3 install EasyROI --upgrade
- Test library
python test_library.py
See progress in TODO.md