-
Notifications
You must be signed in to change notification settings - Fork 6
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
make installation with pip possible #11
Comments
|
To test the installation, I created and activated a new venv with Python 3.10, and ran Commenting out both dependencies in
|
It seems it's possible to leave the dependencies in |
Here is some documentation that might also be useful for skipping Something like the following in [tool.poetry.dependencies]
#...
pytype = { version = "^2023.11.29", markers = "platform_system != 'Windows'" } For making [tool.poetry.scripts]
allowed = 'allowed:main' |
|
Just a few notes on publishing PyPi packages easily:
I've built and published a number of CLI applications over the years, so if you have any questions, please just tag me in (@scmmmh). |
To check pip installation locally, change to a folder outside the repo, e.g. your home folder. Then:
|
@densnow I've put
Could you try the latter in a new virtual env on Windows? Let me know if pytype is installed or not. Thanks. If it's all fine, I will update the installation instructions and then merge the branch for this issue into main. |
@mwermelinger After running the command |
@mwermelinger If |
Thanks for checking. Good point about the version. But where does the usage refer to |
My mistake, I thought the usage message was written in the code somewhere, but It seems to be generated by The message was printed when I tried |
|
Find out how to make a pip package and add
allowed
to the Python Package Index.The text was updated successfully, but these errors were encountered: