-
Notifications
You must be signed in to change notification settings - Fork 51
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
Provide a CLI #52
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I'm gonna move the whole conversation about destdir to #58, and hide all the comments related to it here as off-topic. |
One other desirable feature would be dependency checking. https://github.com/pypa/build provides a function for this, if you want to use it. |
This is done, with #94. |
Yay! This is so beautiful. I couldn’t wait and made a git package to try it out: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-installer-git An Arch PKGBUILD for a Python package can very soon look like: pypiname=...
pkgname=python-$pypiname
pkgver=...
[…]
makedepends=(python-build python-installer) # nothing more
build() {
cd "$srcdir/$pypiname-$pkgver"
python -m build -w
}
package() {
cd "$srcdir/$pypiname-$pkgver"
python -m installer -d "$pkgdir" "dist/$pypiname-$pkgver-py3-none-any.whl"
} |
As mentioned in #1 and the description, it would be useful to have a CLI. (Creating this so people can get notified)
My use case for this project is to replace the way Linux distribution packages are packaged. As Thomas said in https://github.com/pradyunsg/installer/issues/1#issuecomment-622970860, people currently use error prone command lines like this:
Would be great to have a very simple command line that does exactly that: Given a
$pythonver
,$root
directory, andit installs the
$root/usr/lib/python$pythonver/site-packages/
,$root/usr/include/
,$root/usr/bin/
, and$root
(I assume)The text was updated successfully, but these errors were encountered: