Commit graph

29 commits

Author SHA1 Message Date
b47209fa2c Enable Shared library
zen-token:5d917ba5
2022-09-20 07:37:33 +01:00
Daniel Perez
daa7d6ee57
Revert "added major/minor shorthands" 2022-08-22 14:15:33 +09:00
Daniel Perez
c9dc75361d
Merge pull request #134 from jfly/jfly/allow-non-existant-patch-files
Don't complain if a patch file doesn't exist for a particular version of python
2022-08-04 23:47:44 +01:00
Jeff Dickey
3c2bb7b8a1
added major/minor shorthands
this PR allows you to install python via `asdf install python 3.10` or
`asdf install python 3`. It will then install the latest version
starting with that prefix.

It will add an alias in ~/.asdf/installs/python so you can have a
.tool-versions file like the following:

```
python 3.10
```
2022-07-28 20:27:55 -05:00
Jeremy Fleischman
e3ada52ca4
Don't complain if a patch file doesn't exist for a particular version of python
I hope this isn't too controversial: I personally have this
`ASDF_PYTHON_PATCHES_DIRECTORY` globally set up on my machine, which is
super useful when I install/reinstall random versions of Python, but is
kind of annoying when I try to install versions of python that don't
actually need a patch: I have to create an empty file just to get it to
install.

With this change, I don't have to do that: instead I only have to create
`.patch` files for the versions of Python that need it.
2022-03-22 14:28:22 -07:00
Mikhail Bulash
a0251c1384 Support upgrades and requirements.txt syntax for default packages 2022-02-28 16:21:08 +01:00
Pierre Neter
225091e2ee enable install with patch URL 2021-02-10 11:59:05 +07:00
Paul Swartz
a48bcb72bc feat: support patching during install
`python-build` supports a `-p` option to patch Python before installing. In
particular, I use this to apply a patch for OS X Big Sur before installing
older versions of Python.

I'm not super-wedded to this particular implementation: opening this PR for
more discussion.
2020-12-23 11:46:37 -05:00
nmay231
6465373549 Added help scripts 2020-12-08 01:01:15 -07:00
Mikhail Bulash
b66cede547 Support $ASDF_PYTHON_DEFAULT_PACKAGES_FILE 2020-01-14 12:27:06 +03:00
Stephen Haynes
4db4d2263b Fix default packages support and document the feature in the README 2019-06-29 14:38:07 +10:00
Lex Rivera
88ffad83e7
default-eggs -> default-python-packages 2018-09-24 21:30:16 +00:00
Lex Rivera
077fccdf9f
support installing default pip packages 2018-08-13 17:55:51 +03:00
Daniel Perez
c7a4d5d5c5 Add logic to update pyenv every hour 2018-07-14 11:40:07 +09:00
Daniel Perez
f7c594eedc Avoid poluting stdout 2018-07-14 11:33:24 +09:00
Bjorn Neergaard
7daf896739 Remove deprecated version parser; refactor to add quotes and remove useless code 2018-04-13 16:26:06 -06:00
Joshua Rosato
6514c3745a
Updated pyenv repo URL 2018-03-23 14:34:25 +00:00
Daniel Perez
8df7e88342 Use HTTPS URL to download pyenv, fix #14 2017-05-06 19:09:55 +09:00
Michał Kalbarczyk
1bf6f3a772
Fix binary files mode 2017-02-22 17:07:51 +01:00
Daniel Perez
331e65d419 Avoid redownloading python-build, use asdf_dir instead of hard-coded path, close #11 2017-01-22 18:31:29 +09:00
Daniel Perez
c4f49e5c2b Fix list-all 2016-08-30 15:28:44 +09:00
Daniel Perez
286cfcd5fe Make asdf-python a wrapper of python-build 2016-08-30 15:25:56 +09:00
Kevin Rockwood
a5df81a2cb Add support for new legacy file api 2016-07-31 09:49:52 +09:00
Daniel Perez
1538892959 Support ASDF_CONCURRENCY 2016-07-01 16:42:05 +09:00
Daniel Perez
8e66300e87 Fix install for Python 3.6. 2016-06-12 16:58:31 +09:00
Daniel Perez
4d6f1d606f Fix .travis.yml. 2016-06-12 16:18:53 +09:00
Daniel Perez
f5d9d07111 Update list-all. 2016-05-14 11:36:56 +09:00
Daniel Perez
01f4b2bd2a Fix list-all. 2016-05-13 15:53:24 +09:00
Daniel Perez
2fc0fe7590 Initial commit. 2016-04-24 18:32:50 +09:00