-
Notifications
You must be signed in to change notification settings - Fork 186
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
Package into single file with stickytape #70
base: master
Are you sure you want to change the base?
Conversation
should we create a another alternative would be to create a release, as in gh releases (https://github.com/gruns/icecream/releases) with the single file icecream.py since users arent installing single file icecream.py through |
It's no longer one file, it's a file for each version. And there's already a directory. Maybe call it |
afaict there is, unfortunately, no way to release just a file through github releases. only archives (.zip, .tar.gz) and yep -- we could change that and replace the blanket
and then write the single file icecream.py into is there an prior art or de facto standard here for how projects that use stickytape distribute the generated single py files? another option: sidestep all this and just add instructions to the readme along the lines of: 'want a single file to import? check out the repo, im ok with that for now. see if that suffices and only if it doesnt, iterate and build something better |
Or add a comment "If you want a single source file IceCream-like package, consider ycecream.". Really just one file for all Python versions (2.5, 3.6++) and installable from with pip. |
No I meant that the files already live in a directory called
I doubt it.
The point is that some people have trouble pip installing. |
2.5? @salabim, your spammy comments are becoming excessive. Please tone it down so I'm not tempted to delete or report your comments. @gruns, do you feel similarly? |
it's a safe assumption, to me, that any python dev should have access to pip during development, though it'd be during deployment/packaging/bundling that they want to avoid pip and instead import icecream via a single file so generating said single file icecream.py with a dependency installed via pip (stickytape) seems fine to me. and it's definitely simpler than having to remember to generate single file versions of icecream.py on every commit or release. ie
which i agree with; not worth going down that road yet besides, is stickytape self-hosting and it generates a single file version of itself for use on systems without pip? then no pip required 😉 /s |
agreed. @salabim ycream is great and youve built many great things there but the best path is if you can take some of those great features and merge them into icecream. we'll go farther together either way, please tone it down ❤️ |
Maybe, I'm not sure. In any case, that's quite a bit of work to put on a user for a package whose selling point is largely typing a few less characters.
Since it's already in tox now, I think the way forward is:
That shouldn't be too bad.
haha it should be! |
Closes #67
Under
single_file
, runpackage.sh
to updatesingle_file_icecream.py
. Not sure if/how we'd want to automate this, e.g. with travis or git commit hooks, and I don't want to go there.