[Distutils] pip 19.0 is now available!

2019-01-22 Thread Pradyun Gedam
On behalf of the PyPA, I am pleased to announce that pip 19.0 has just
been released. This release brings support for multiple new packaging
standards.

The highlights of this release are:

- Python 3.4 support is deprecated.
- PEP 517 support is now implemented.
- manylinux2010 wheels are now supported.
- Dependency links support has been removed.
- Many bug fixes and lots of minor improvements.

In addition, when run on Python 2.7, pip 19.0 prints a warning regarding
the upcoming 2020 EOL of Python 2.7. A future version of pip will drop
support for Python 2.7.

To install pip 19.0, you can use get-pip (as described in [1]) or run::

python -m pip install --upgrade pip

Note that if you are using a version of pip supplied by your
distribution vendor, vendor-supplied upgrades will be available in due
course.

The pip development team is extremely grateful to everyone in the
community for their contributions. Thanks to everyone who put so much
effort into the new release. Many of the contributions came from
community members, whether in the form of code, participation in design
discussions and/or bug reports.

[1]: https://pip.pypa.io/en/latest/installing

Best,
Pradyun
--
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-le...@python.org
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at 
https://mail.python.org/archives/list/distutils-sig@python.org/message/SJHO4TPFIB6NV4BRH22ABLWR472IKW55/


[Distutils] Re: Depending on external library

2019-01-22 Thread Robert T. McGibbon
It's necessary to bundle the external library with the wheel.

On linux, this is what the manylinux tag is all about (see PEP 513 & 571)
and the auditwheel tool (https://github.com/pypa/auditwheel) will bundle
the library into the wheel.

On OS X and Windows, I'm less familiar with the toolchain but the same
principle applies.

-Robert


On Tue, Jan 22, 2019 at 6:41 AM Jeroen Demeyer  wrote:

> Hello,
>
> I have a Python project that depends on an external C library (which is
> unrelated to Python and NOT part of the OS).
>
> For an sdist, this is easy: my setup.py assumes that the library is
> pre-installed somewhere on the system where setuptools can find it.
>
> However, is there a standard solution for packaging such a project as
> wheel? Ideally, the project should "just work" when doing pip install on
> it, which means that the external library should somehow be bundled in
> the wheel.
>
> I know that for example numpy does that, but it also has a very
> complicated build system (containing a fork of distutils!).
>
> Does anybody know any pointers for this? Or if you think that this is a
> minefield which is not really supported, feel free to say so.
>
>
> Thanks,
> Jeroen.
> --
> Distutils-SIG mailing list -- distutils-sig@python.org
> To unsubscribe send an email to distutils-sig-le...@python.org
> https://mail.python.org/mailman3/lists/distutils-sig.python.org/
> Message archived at
> https://mail.python.org/archives/list/distutils-sig@python.org/message/6RZVKM5YQVAAOR5ENDS34HH5VFXHZ22G/
>


-- 
-Robert
--
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-le...@python.org
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at 
https://mail.python.org/archives/list/distutils-sig@python.org/message/PAFDZ27US57IKWU7KNW6FK23C5GSPYYG/


[Distutils] Depending on external library

2019-01-22 Thread Jeroen Demeyer

Hello,

I have a Python project that depends on an external C library (which is 
unrelated to Python and NOT part of the OS).


For an sdist, this is easy: my setup.py assumes that the library is 
pre-installed somewhere on the system where setuptools can find it.


However, is there a standard solution for packaging such a project as 
wheel? Ideally, the project should "just work" when doing pip install on 
it, which means that the external library should somehow be bundled in 
the wheel.


I know that for example numpy does that, but it also has a very 
complicated build system (containing a fork of distutils!).


Does anybody know any pointers for this? Or if you think that this is a 
minefield which is not really supported, feel free to say so.



Thanks,
Jeroen.
--
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-le...@python.org
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at 
https://mail.python.org/archives/list/distutils-sig@python.org/message/6RZVKM5YQVAAOR5ENDS34HH5VFXHZ22G/