mirror of
https://github.com/jordansissel/fpm
synced 2025-02-23 01:51:16 +01:00
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
21 lines
568 B
Python
21 lines
568 B
Python
from setuptools import setup
|
|
|
|
setup(name="Example",
|
|
version="1.0",
|
|
description="sample description",
|
|
author="sample author",
|
|
author_email="sample email",
|
|
url="sample url",
|
|
packages=[],
|
|
package_dir={},
|
|
install_requires=[
|
|
"Dependency1", "dependency2",
|
|
# XXX: I don't know what these python_version-dependent deps mean
|
|
# needs investigation
|
|
# Reference: PEP-0508
|
|
'rtxt-dep3; python_version == "2.0"',
|
|
'rtxt-dep4; python_version > "2.0"',
|
|
],
|
|
)
|
|
|