-
Notifications
You must be signed in to change notification settings - Fork 2
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
PyPI support #3
Comments
Hi You're messing the ways of installing from git. Either of these two lines should work:
I wasn't planning on publishing the package. It may be a good idea in the future, though. |
Indeed, I wasn't using the requirements file correctly. |
Mind creating a tag meanwhile ? |
Just for the sake of sanity, using The syntax in
But then pypi package uploads will fail. |
Looks like bizarre issue for me. However, I've never worked with PyPi. |
Btw, have you tried using commit hash or tag instead of branch name? Maybe PyPI doesn't allow branches to ensure dependency locking. |
Actually, it ends up with the following error message when trying to upload to PyPI
I've also tried following syntax as per PEP-0440 in requirements.txt:
Ends up the same. Reading PEP-0440, it states
It seems that twine just doesn't allow uploading packages to PyPI with direct references I'm stuck for now. I only can directly bundle your |
Hm, I see. I can also suggest another workaround: try adding my repository as a git submodule. |
Yeah... But multiplying different dependencies system doesn't seem healthy to me. |
Published as |
Thank you for the time and effort you put into this ;) |
Hello,
I'm currently using your i18n fork as base for one of my programs.
I'm trying to add the git dependency in my
requirements.txt
file, but I cannot get that to work:requirements.txt:
When I run
pip install -r requirements.txt
, I get the following:I've also tried URL
https://github.com/Krutyi-4el/python-i18n/archive/refs/heads/master.zip
which gives the same results.Since the original
python-i18n
isn't developped anymore, would you mind to make a git and PyPI release ?As a side question, since you don't own the
python-i18n
namespace on PyPI, would you consider asking @danhper to take owernship of the package, so a new release can be done in the original namespace ?Best regards.
PS: Thanks for the efforts you put into the project
The text was updated successfully, but these errors were encountered: