Questions tagged [twine]

For questions about the Python package used for uploading distributions to the Python Package Index (PyPI).

Use the tag if your question is about any of the features found in the Twine package.

This can include, but is not limited to:

  • interacting with PyPI
  • uploading to PyPI

Twine is a utility for securely interacting with PyPI over HTTPS. PyPI is the Python Package Index - a repository of software for the Python programming language.

Twine is one of two ways to upload to PyPI, the other being through the "setup.py upload" command.

When tagging with consider tagging with as well.

145 questions
0
votes
2 answers

Publishing python package into azure artifacts

Due to poor documentation I'm suffering alot to upload my Python Package to my internal Azure Artifacts: I have followed exactly like this Twine authenticate was successful however unable to upload to feed as it keeps asking username! Is my setup…
Naga
  • 77
  • 1
  • 6
0
votes
1 answer

Sugarcube game editing using for loops

I'm very new to Sugarcube, I learned that you can edit values by inspecting on the browser. My question is how do you use a loop to change the value of a bunch of things at once? For instance if a game looks like…
fahim
  • 29
  • 4
0
votes
0 answers

How to create a "not pre-release" library in PyPiCloud?

Currently, after building a library and use twine upload dist/* to publish it to PypiCloud, a pre-release version will be created. When I install it using pip, I will have to add --pre tag. How can I publish a "not pre-release" version instead?
Emma Lu
  • 29
  • 5
0
votes
1 answer

How to export a Twine story to a Twee file?

I'm new to Twine, and would like to export the story I'm working on to a Twee file. As far as I can tell, it is only available as an HTML file stored in ~/Documents/Twine, and I don't see a way to export in the user interface. Is it possible to do…
0
votes
0 answers

I'm trying to use twine upload but it doesn't work, I'm pretty sure my password and username is correct

the warning said WARNING Error during upload. Retry with the --verbose option for more details here is what verbose said INFO Response from https://test.pypi.org/legacy/: 403 Invalid or non-existent authentication information. See…
0
votes
2 answers

How to package my python project to be runnable from command line?

I've coded my python project and have succeeded in publishing it to test pypi. However, now I can't figure out how to correctly configure it as a console script. Upon running my_project on the command line, I get the following stack trace: Traceback…
ThatCoolCoder
  • 249
  • 3
  • 16
0
votes
1 answer

Twine doesn't upload folder

When I upload to PyPi, the extension folder wasn't added, only the outer python files were. File Structure: Main Project Folder └──Actual Module Folder └──__init__.py └──file1.py └──extension └──__init__.py └──file2 …
Fishball Nooodles
  • 474
  • 1
  • 4
  • 11
0
votes
1 answer

Twine upload to Artifacts Feed failing

I have a python package build successfully and trying Publish Python packages to Azure Artifacts feeds. My package directory structure is following: my_pkg my_pkg start.py tests test_start.py .pypirc .pypirc looks like this: …
Dibyendu Dey
  • 349
  • 2
  • 16
0
votes
1 answer

How do I import and use my python package?

problem I am trying to publish and use a package I created, here is the directory…
Weylin Wagnon
  • 313
  • 1
  • 4
  • 8
0
votes
1 answer

Can I make a scrollbar interactable through an overlaid picture?

I have a CSS related question regarding scrollbars. I have an image overlaying my jQuery-Tabbed phone on the Left and get almost all the active elements, buttons, links & inventory to still be interactive via changing the Z-Index. However I cannot…
0
votes
1 answer

Get {"error":"404 Not Found"} when uploading pypi package to gitlab with twine

I am following the official documentation while trying to upload my pypi package to gitlab private repository using twine. I am working on a community project on gitlab.com that is set to private. I am using the following commandline: twine upload…
Mr. Developerdude
  • 9,118
  • 10
  • 57
  • 95
0
votes
1 answer

I'm not really sure how to use Twine to upload my project to testpypi

So I tried to use the command python -m twine upload --repository testpypi dist/* and after I press enter, it appears a prompt asking for my username, I tried entering my test pypi username, __ token __, or the name of my token, but non of them…
Yc Lai
  • 1
  • 1
  • 3
0
votes
1 answer

Wrong install location with pypi packaging for binary and script file

my setup.py file looks like $ cat setup.py from setuptools import setup setup( name='user1-hello-world', version='0.20', scripts=['user1-hello-world'] , data_files=[('/usr/sbin/',['user1-bin2'])] ) I have 1 python script…
webminal.org
  • 44,948
  • 37
  • 94
  • 125
0
votes
0 answers

Markdown syntax error while uploading it to PyPI

enter code hereWarning: Bullet list ends without a blank line; unexpected unindent.warning: long_description_content_type missing. defaulting to text/x-rst.`# Named Entity Recognition for chatbots Chatbot NER is an open source framework custom…
SUMAN
  • 21
  • 4
0
votes
1 answer

Audio question - loading multiple files silently and using faders

Weird question, I apologise in advance. I'm using Twine 1.4.2 to create music lessons for students. (Remote learning and Covid. It's such a drag.) https://twinery.org/ I jiggered the music macros from here,…
Firky
  • 1