-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turn img2braille
into a package
#3
Comments
Of course, I'm very glad about pull requests. |
Since the |
@TheFel0x I built and published packages before, if you want I can publish it for you / teach you how to do it. |
|
https://packaging.python.org/en/latest/flow/ rm -r venv dist *.egg-info # Cleanup
python3 -m venv venv # Create venv
source venv/bin/activate # Activate venv
pip install -U pip setuptools wheel # Update venv
pip install -U build twine # Install packages needed to build and upload
python -m build # Build sdist and wheel
twine upload dist/* # Upload to PyPI (enter username and password)
rm -r venv dist *.egg-info # cleanup I have lots of aliases, so for me it's just alias buildcleanup='rm -r venv dist *.egg-info'
alias buildpub='buildcleanup ; mkv && pip install -U build twine && python -m build && twine upload dist/* && buildcleanup'
function mkv {
$python -m venv venv
av
pip install -U pip setuptools wheel
# More stuff to automatically install requirements files
}
alias av='source venv/bin/activate'
alias dv='deactivate'
alias rv='rm -r venv' Then people can install it using I'm going to test this on https://test.pypi.org first, to make sure the whole process works. |
This will simplify the installation process to
python3 -m pip install img2braille
The
img2braille
name is free on PyPIAre you okay with me submitting some pull requests for this project? (e.g. making it a package, adding tests, enforcing PEP8, making a main function, using built-in
argparse
features instead of manual or statements, maybe more)The text was updated successfully, but these errors were encountered: