Comments (5)
Of course, I'm very glad about pull requests.
Also I apologize for taking this long to reply.
from img2braille.
Since the img2braille
pip package doesn't exist yet I should probably reopen this.
I haven't published a package using pip before so unfortunately I don't know the process yet. I will look into it however.
from img2braille.
I haven't published a package using pip before so unfortunately I don't know the process yet.
@TheFel0x I built and published packages before, if you want I can publish it for you / teach you how to do it.
from img2braille.
if you want I can publish it for you / teach you how to do it.
@GideonBear It would be great if you could teach me how to do so!
from img2braille.
It would be great if you could teach me how to do so!
https://packaging.python.org/en/latest/flow/
First you need to make a PyPI account.
Then for each version you want to release:
Tag a version in git (git tag v0.0.1
), I've set it up so it'll autodetect the version from git.
Then run these commands:
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 buildpub
:
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 python3 -m pip install img2braille
and run it using img2braille
.
I'm going to test this on https://test.pypi.org first, to make sure the whole process works.
from img2braille.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from img2braille.