1
0
mirror of https://github.com/jordansissel/fpm synced 2025-11-11 18:38:50 +01:00
fpm/spec/fixtures/python
Jordan Sissel f0e5b8abc0 Use python to parse python requires syntax and evaluate markers.
Not supported yet:
* Custom environment for marker evaluation.
* "extras" markers

Restore function to `--python-obey-requirements-txt`. This flag will
only work on python inputs that are provided as a directory, not a
wheel/tar.gz/etc.

Tests pass including the obey requirements.txt ones.

* Fix bug 'else File.directory?` -> `elsif File.directory?...` lol oops.
* Use Dir.entries instead of Dir.glob to allow python package extra
  syntax, with names like `django[bcrypt]` (Note, extras in requirements
  aren't evaluated yet)
2025-09-30 15:25:44 -07:00
..
easy_install_default.py add FPM::Util.execmd and fix python_spec.rb 2016-04-19 05:59:13 +02:00
METADATA WIP to update python support to rely more on pip 2025-09-30 15:25:44 -07:00
requirements.txt Add tests for python PEP0508 tags 2018-04-14 19:55:08 -07:00
setup.py Use python to parse python requires syntax and evaluate markers. 2025-09-30 15:25:44 -07:00