1
0
mirror of https://github.com/jordansissel/fpm synced 2025-04-29 14:58:00 +02:00
Commit Graph

18 Commits

Author SHA1 Message Date
Jordan Sissel
9e3f75b628 By default, use pip for fetching and installing python packages.
This adds a new flag, --python-internal-pip, which is enabled by default.

"internal pip" means using 'python -m pip' to invoke pip. Ideally this will make fpm more correctly use pip.

Tested on python 2.7.17 and 3.6.9 on Ubuntu 18.04

All python tests passing 👍👍

Fixes #1820
2021-11-09 21:29:41 -08:00
Alexey Stepanov
384f54769f Add tests for python PEP0508 tags 2018-04-14 19:55:08 -07:00
Nick Griffiths
66e59e79e8 Support building a virtualenv from local requirements.txt 2016-06-18 13:37:24 -07:00
Paweł Tomulik
dc7e73237d add FPM::Util.execmd and fix python_spec.rb 2016-04-19 05:59:13 +02:00
Paweł Tomulik
78303be699 further fixes to deb lintian test 2016-04-07 22:36:09 +02:00
Paweł Tomulik
9dcd9f1379 fix to make deb lintian test passing 2016-04-07 17:33:36 +02:00
Ward Vandewege
04804f672c Add tests for python dependency manipulation. Also switch
spec/fixtures/python/setup.py from distutils to setuptools.
2015-03-14 21:02:16 -04:00
Jordan Sissel
8a29dd5ea0 Add --log=xxx support
Supported log levels: error, warn, info, debug.

--verbose is the same as --log=info
--debug is the same as --log=debug
--log=warn is the default

Requested by mattgreenrocks on irc.
2014-10-15 18:29:42 +00:00
Jordan Sissel
4c17e1c048 Merge pull request #688 from vStone/bugfix/fix_version_bins_with_no_bins
Fixes an issue where gem-version-bins is enabled but there are no binaries
2014-07-24 12:06:07 -07:00
Jan Vansteenkiste
97326059d6 Updated the example gem with as little changes as possible
checksums.yaml.gz has been stripped as in the current gem.

Changes:

```diff
diff --git a/spec/fixtures/gem/example/example-1.0.gem b/spec/fixtures/gem/example/example-1.0.gem
index 0241779..9238a4a 100644
--- a/spec/fixtures/gem/example/example-1.0.gem
+++ b/spec/fixtures/gem/example/example-1.0.gem
@@ -46,10 +46,12 @@ dependencies:
         version: '0'
 description: sample description
 email: sample email
-executables: []
+executables:
+- example
 extensions: []
 extra_rdoc_files: []
-files: []
+files:
+- bin/example
 homepage: http://sample-url/
 licenses: []
 post_install_message:
@@ -78,3 +80,5 @@ test_files: []
 has_rdoc:
 ============== checksums =============
 =============== files ================
+bin/example
+#!/usr/bin/env ruby

```

See http://vstone.eu/diffing-gems-in-git/
2014-06-10 08:19:49 +02:00
Jan Vansteenkiste
43464f7990 Added tests. Rebuild of example-1.0.0.gem required though 2014-06-10 08:19:49 +02:00
Dan Brown
6822e3bd50 Added support for dpkg triggers (fixes #595) 2014-05-01 14:43:54 +01:00
Dan Brown
3609a449a3 Added support for extra control files for debs (fixes #599) 2014-04-30 16:05:39 +01:00
Sam Crang
d3636f42b7 Fix relative-conffile error from lintian 2014-03-08 14:53:42 +00:00
Pranay Kanwar
e59509966a python: handle == dependency requirement correctly 2013-05-30 11:14:03 +05:30
Jay Buffington
9a4744b9d6 control case of package name and its dependencies
Added the following two flags:
  --[no-]python-downcase-name
  (python only) Should the target package name be in lowercase? (default: true)
  --[no-]python-downcase-dependencies
  (python only) Should the package dependencies be in lowercase? (default: true)

fixes #326
2013-01-02 14:50:44 -08:00
Jordan Sissel
db13e48301 - Add specs for the gem package 2012-03-14 23:26:58 -07:00
Jordan Sissel
9110469987 - Add specs for python 2012-03-15 00:17:13 +00:00