Comments (6)
That's strange. Do you have a ~/.pypirc
file? And what is the url specified for pypi?
from poet.
Thanks for your reply!
I don't have ~./pypirc
on my linux server and same on local window desktop.
Is it necessary to publish on pypi?
And what is "url for pypi"? I didn't set any url about pypi.
from poet.
Poet uses twine
internally which uses the ~/.pypirc
file to get information about remote repositories (like username, password and url).
If you don't have a ~/.pypirc
file it will use a default config that seems to fail when registering the package (due to the url being used it seems).
Anyway, this will likely changed in future poet versions to not depend on the ~/.pypirc
file and use its own config file with more sensible defaults.
For now, you could create the ~/.pypirc
file with the following content:
[distutils]
index-servers =
pypi
[pypi]
repository: https://pypi.python.org/pypi
username: you-user-name
password: your-password
username
and password
are optional.
from poet.
Thanks for the advice.
It solved 410 Client Error
!
Unfortunately, now I have another error.
[HTTPError]
401 Client Error: You must be identified to edit package information for url: https://pypi.python.org/pypi
Do you have any ideas?
+
$ cat poetry.toml
[package]
name = "basic-poet-example"
version = "0.1.0"
description = "Basic example"
license = "MIT"
authors = [
"jungwinter <[email protected]>"
]
readme = "README.rst"
homepage = "https://github.com/sdispater/poet"
keywords = ['packaging', 'poet']
include = ['basic_example/**/*', 'my_module.py']
python = ["^3.5"]
[dependencies]
requests = "^2.13"
[dev-dependencies]
pytest = "^3.0"
and
$ cat ~/.pypirc
[distutils]
index-servers =
pypi
[pypi]
repository: https://pypi.python.org/pypi
username: jungwinter
from poet.
Do you have an account on pypi? Did you enter the right password?
from poet.
Oh, I confused my pypi password XD.
I could solve the problem!
Thanks for helping!
from poet.
Related Issues (20)
- Check command return all errors at once
- config file not permissive enough
- Installation from requirements.txt
- poet install <package name>
- Use a different file format HOT 1
- Ability to execute commands
- Poet should not need a compiler to be installed HOT 1
- Attribute Error on poet init HOT 2
- Support `python setup.py develop` equivalent
- poet init does not work HOT 6
- Not every package follows semantic versioning
- Unable to install both aiohttp and Jinja2 HOT 3
- Poet fails if there are no dependencies
- Templates rather than interactive init HOT 2
- Support dependencies for specific Python versions
- Support pypi trove classifiers HOT 1
- How does it compare to Pipenv? HOT 3
- RFE: ability to install dependency via remote ZIP file HOT 1
- Document/finish entry_points support HOT 4
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 poet.