Skip to content
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

twine register fails #174

Closed
michaelaye opened this issue May 22, 2016 · 2 comments
Closed

twine register fails #174

michaelaye opened this issue May 22, 2016 · 2 comments

Comments

@michaelaye
Copy link
Contributor

I'm using exactly the sequence as written in the README:

  • python setup.py sdist bdist_wheel
    finishes fine without any error or warning
    I have a working .pypirc file as I registered with the old way before, also practiced with the test server before.
    Now I'm trying to register (for updating README.rst) again, using twine:

twine register dist/* (as given by your README)
and I get this error:

(stable)└─❱❱❱ twine register dist/*                                                 +3788 14:27 ❰─┘
usage: twine register [-h] [-r REPOSITORY] [-u USERNAME] [-p PASSWORD]
                      [-c COMMENT] [--config-file CONFIG_FILE]
                      package
twine register: error: unrecognized arguments: dist/pyciss-0.3.2.tar.gz

the content of dist is this:

(stable)└─❱❱❱ ls -la dist                                                           +3791 14:33 ❰─┘
total 280
drwxr-xr-x@  4 klay6683  dusers   136B May 22 14:26 .
drwxr-xr-x@ 23 klay6683  dusers   782B May 22 14:26 ..
-rw-r--r--@  1 klay6683  dusers    81K May 22 14:26 pyciss-0.3.2-py2.py3-none-any.whl
-rw-r--r--@  1 klay6683  dusers    55K May 22 14:26 pyciss-0.3.2.tar.gz

In issue #21 I found the comment that I need to call register like so:

twine register dist/pyciss-0.3.2.tar.gz

which actually worked. Damn is releasing Python hard work. :(

@sigmavirus24
Copy link
Member

Would you care to update the README?

@michaelaye
Copy link
Contributor Author

You mean to do a PR with an updated README to reflect better how it has to be used? Sure, I can do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants