Skip to content

Tag: pypi

Python – TicTacToe

In this question I have to create a TicTacToe game in python which will run in terminal. This is a 2player game and if any player wins by the rules of TicTacToe, Winner = player 1/2 has to be printed. I’m getting a winner statement when I have three 0’s or 1’s diagonally but I’m not ge…

Upload to pypi from Gitlab Pipelines

I’m trying to upload a package to pypi using a Gitlab CI job, but I cannot make it work :/ Anyone has a working example? What I have tried so far in my .gitlab-ci.yaml (from my local machine all of them are working): Twine with a .pypirc file Same as before but with $VARIABLE Two options before but usin…

Why is Twine 1.9.1 still uploading to legacy PyPi?

I want to upload packages to pypi.org as mentioned in the Migrating to PyPI.org documentation, but Twine uploads to https://upload.pypi.org/legacy/. It’s available on pypi.python.org/pypi/mypolr, but is not found on pypi.org. I’ve tried to read several other questions, tutorials, and guides. My pi…

How can I re-upload package to pypi?

I upload a package to pypi, but I got some trouble after upload, so I delete it completely, and I tried to re-upload, but there are some error after upload again: HTTP Error 400: This filename has previously been used, you should use a different version. error: HTTP Error 400: This filename has previously bee…

How do I download the entire pypi Python Package Index

I’m trying to find a way to download the entire PyPi index – and only the index – no code files. I’m wanting to analyze license types to be able to rule out libraries that have too restrictive license types. I’ve looked online and through the user’s guide, but if the answer…

PyCharm Error Loading Package List

I just downloaded PyCharm the other day and wanted to download a few packages. I’m using Windows 10 with PyCharm 2016.2.2 and python 3.5.2. When I go to the available packages screen it continually states: Error loading package list:pypi.python.org I was just trying to download BeautifulSoup and I&#8217…

How to specify multiple author(s) / email(s) in setup.py

We wrote a small wrapper to a twitter app and published this information to http://pypi.python.org. But setup.py just contained a single field for specifying email / name of the author. How do I specify multiple contributors / email list, to the following fields since we would like this package to be listed u…