[Distutils] Hello Greg/Anthony

2014-02-20 Thread Matt Goodman
I have a couple tweaks which makes distutils more functional for the mscv
family.  Namely exposing the compiler/link flags that are necessary for
linking against Python without dependence on the full msvc import being
successful.  There are a bunch of hack-arounds oribiting this problem, and
I would be willing to do some work to smooth it over.

Is there a github repo for this, or is it a part of python core.  In short,
is there any way I can contribute this code into distutils somehow?
--Matthew Goodman
===
3Scan Computational Choreographer
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


[Distutils] How to link to a c library ?

2014-02-20 Thread chaouche yacine


What I was trying to accomplish
---

I tried to upgrade numpy
# pip install --upgrade 
numpy.../chaouche/build/numpy/numpy/numarray/_capi.c:198:undefined reference to 
`log10' collect2: ld returned 1 exit status error: Command gcc -pthread 
-shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id 
-Wl,--enable-new-dtags build/temp.linux-i686-2.7/numpy/numarray/_capi.o 
-L/usr/lib -Lbuild/temp.linux-i686-2.7 -lpython2.7 -o 
build/lib.linux-i686-2.7/numpy/numarray/_capi.so failed with exit status 1 
 Rolling back uninstall of numpy 
Replacing /usr/lib/python2.7/site-packages/numpy-1.6.1-py2.7.egg-info
Command /usr/bin/python -c import 
setuptools;__file__='/home/chaouche/build/numpy/setup.py';exec(compile(open(__file__).read().replace('\r\n',
 '\n'), __file__, 'exec')) install --single-version-externally-managed 
--record /tmp/pip-lppaDW-record/install-record.txt failed with error code 1
Exception information:
Traceback (most recent call last):
...
InstallationError: Command /usr/bin/python -c import 
setuptools;__file__='/home/chaouche/build/numpy/setup.py';exec(compile(open(__file__).read().replace('\r\n',
 '\n'), __file__, 'exec')) install --single-version-externally-managed 
--record /tmp/pip-lppaDW-record/install-record.txt failed with error code 1



What the problem was


I eventually figured out that they didn't link to the math library 
where all those symbols where defined (log10, sqrt, sincos etc.). I 
found that out by manually trying the gcc command with the -lm flag and 
it compiled fine. 


My question

What files do I need to edit in order to add this -lm flag and install numpy 
correctly ?
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] Hello Greg/Anthony

2014-02-20 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/19/2014 10:51 PM, Matt Goodman wrote:
 I have a couple tweaks which makes distutils more functional for the
 mscv family.  Namely exposing the compiler/link flags that are
 necessary for linking against Python without dependence on the full
 msvc import being successful.  There are a bunch of hack-arounds
 oribiting this problem, and I would be willing to do some work to
 smooth it over.
 
 Is there a github repo for this, or is it a part of python core.  In
 short, is there any way I can contribute this code into distutils
 somehow?

distutils is in the core as part of the standard library.  The canonical
repository is at:

  http://hg.python.org/cpython/

Submitters should follow the process outlined in the Python Developers'
Guide:

  http://docs.python.org/devguide/


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlMGIbAACgkQ+gerLs4ltQ7cuQCgnfoP8R+jLp5SHncVwbD3+5ac
is0An0YZkVXX017wUEiZ1pP3WpLhul+k
=M+Em
-END PGP SIGNATURE-

___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


[Distutils] Pip 1.5.3 and virtualenv 1.11.3 released

2014-02-20 Thread Donald Stufft
I'm happy to announce the release of pip 1.5.3 and virtualenv 1.11.3. These
releases have the follow changelogs:


1.5.3 (2014-02-20)
--

* **DEPRECATION** ``pip install --build`` and ``pip install --no-clean`` are now
 deprecated.  See Issue #906 for discussion.
* Fixed #1112. Couldn't download directly from wheel paths/urls, and when wheel
 downloads did occur using requirement specifiers, dependencies weren't
 downloaded (PR #1527)
* Fixed #1320. ``pip wheel`` was not downloading wheels that already existed (PR
 #1524)
* Fixed #. ``pip install --download`` was failing using local
 ``--find-links`` (PR #1524)
* Workaround for Python bug http://bugs.python.org/issue20053 (PR #1544)
* Don't pass a unicode __file__ to setup.py on Python 2.x (PR #1583)
* Verify that the Wheel version is compatible with this pip (PR #1569)


1.11.3 (2014-02-20)
---

* Updated setuptools to 2.2
* Updated pip to 1.5.3

-
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


[Distutils] Pip 1.5.3 and virtualenv 1.11.3 released

2014-02-20 Thread Donald Stufft
I'm happy to announce the release of pip 1.5.3 and virtualenv 1.11.3. These
releases have the follow changelogs:


1.5.3 (2014-02-20)
--

* **DEPRECATION** ``pip install --build`` and ``pip install --no-clean`` are now
  deprecated.  See Issue #906 for discussion.
* Fixed #1112. Couldn't download directly from wheel paths/urls, and when wheel
  downloads did occur using requirement specifiers, dependencies weren't
  downloaded (PR #1527)
* Fixed #1320. ``pip wheel`` was not downloading wheels that already existed (PR
  #1524)
* Fixed #. ``pip install --download`` was failing using local
  ``--find-links`` (PR #1524)
* Workaround for Python bug http://bugs.python.org/issue20053 (PR #1544)
* Don't pass a unicode __file__ to setup.py on Python 2.x (PR #1583)
* Verify that the Wheel version is compatible with this pip (PR #1569)


1.11.3 (2014-02-20)
---

* Updated setuptools to 2.2
* Updated pip to 1.5.3

-
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig