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
1 answer

Create Python WHL file only using bash

I have access to a virtual machine with Python 3.11 and am able to create WHL files using the twine and build libraries. python -m pip install --upgrade pip python -m pip install build python -m pip install twine python -m build python -m twine…
Alex
  • 47
  • 5
0
votes
0 answers

Giving user the ability to create variables and store them in db

After working with laravel for months, I decided to create a personal project in nodejs/express/angular, but I find difficult to resolve several points in my project for which I would very much like your help/opinions. I need to somehow give the…
0
votes
1 answer

gameover function is ignores the if statement twine sugarcube

still working on an adventure game. I've put the gameover if statement in all html files/chapters <><> <><> <> breath
amber
  • 27
  • 6
0
votes
0 answers

working on visual inventory with html only working partly

I´m currently working with Twine(sugarcube) to finish my adventure game. The inventory is another page you can always go to, where the gathered items are each presented with an image or textelement. I´ve put the image elements in a div class, but…
amber
  • 27
  • 6
0
votes
2 answers

Solving certificate errors when uploading to artifactory with twine in corporate environment

I want to upload a Python package to a secured (HTTPS) Artifactory server from my machine using Twine. First, using the following: twine upload --verbose \ --repository-url https://URL/artifactory/api/pypi/PATH \ --username XX \ --password XX…
Itération 122442
  • 2,644
  • 2
  • 27
  • 73
0
votes
0 answers

Button in for loops Twine 2.3.14 SugarCube 2

Edit: Solved it after some more trial and error. I needed to "capture" the variables first: ... <> <> <> <
0
votes
0 answers

How to upload Platform specific wheels packages

I have generated a wheel package for windows, linux and mac platform with latest python[3.11]. What happens is if i have built wheel on linux, only that wheel can be uploaded and along with .tar.gz file. But i want to build wheel package on other…
0
votes
1 answer

Unable to install Twine

I am running on a Raspberry PI OS uname -a Linux gus 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l GNU/Linux I have built my (Python) wheel. I am attempting to publish to testPyPI. I cannot install Twine - because the cryptography…
user1255603
  • 417
  • 1
  • 8
  • 15
0
votes
1 answer

Twine GCP Artifact registry - HTTPError: 413 Request Entity Too Large

I am trying to upload private packages to a repository in my Artifact Registry. I'm using google cloud shell to upload a /dist from my package using twine. Using the following tutorial…
0
votes
1 answer

Hover and Click Sounds for UI Elements of Twine (Sugarcube) using Javascript

I am using the latest version of Twine, 2.5.1 and Sugarcube for the story format (https://twinery.org). My question revolves around HTML and Javascript coding. Every Twine forum I've tried to join is not currently joinable for different reasons;…
Penelope
  • 1
  • 1
0
votes
1 answer

TWINE switched from Harlowe to sugarcube --> passage links are not working anymore

Building an interactive Story in Twine 2.5.1, I've switched from Harlowe to Sugarcube since I feel more comfortable with the sugarcube 2.36.1. However, now the passages are not working anymore. In the preview game the options are marked red. This…
amber
  • 27
  • 6
0
votes
0 answers

How to get Twine (Sugercube 2) Variables to work in @@Custom Style;Text@@

I have a widget where I make my dialogue boxes. I want to have args[0-3] represent differences in CSS Styles, like Border Color and background colour. I have something among the lines of this: <> <> <
Oktu
  • 1
  • 1
0
votes
0 answers

Twine " something went wrong while saving a story. "

im new and download twine 2 recently, i appreciate if you help me. After so many same errors in the first try after downloaded the app ( i use twine offline by the way) i get the error that said something went wrong while saving a story ENOENT: no…
Ahmad
  • 1
  • 1
0
votes
1 answer

ImportError: cannot import name '_adapters' from partially initializer module importlib_metadata' (most likely due to a circular import)

I was updating my Pypi package using: python setup.py sdist bdist_wheel Then, running: python -m twine upload --https://github.com/ERijck/FuzzyTM https://test.pypi.org/legacy/ dist/* Returned the following error: (base)…
Emil
  • 1,531
  • 3
  • 22
  • 47
0
votes
0 answers

Azure DevOps: Python package file size limitation

1. Python Package Publishing using Azure DevOps following is the structure. Following instruction by AzureDevOps Python Package, tried to upload with twine upload -r dist/*. But failed! Complaining about file size issue my_pkg …
Dibyendu Dey
  • 349
  • 2
  • 16