[Distutils] Re: failing to build a windows python38 wheel

2019-10-30 Thread Marius Gedminas
e: - https://docs.python.org/3/whatsnew/3.8.html#build-and-c-api-changes - https://docs.python.org/3/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build Regards, Marius Gedminas -- In English, is it grammatically correct to use "Apple" and "relatively-inexpensive" in the same

[Distutils] Re: WIll custom setup.py with (set library-prefix have post install actions) continue to be supported ?

2019-06-23 Thread Marius Gedminas
MA_DIR'] to the directory where my schema file resides (inside the virtualenv's site-packages, usually). This allows me to support 'pip install gtinelog', as well as running straight from a git checkout with no intermediate build step. Marius Gedminas -- We have enough youth, how about a fountai

[Distutils]Re: Introducing XAR - SquashFS based mountable executables - Calling OS/Distro Maintainers

2018-07-17 Thread Marius Gedminas
against used `pkg_resources.load_entry_point()` to run the script, > while XAR called the entry point directly. Benchmarking against pkg_resources is a bit like running a race when your opponent has an iron cannonball chained to their leg: https://github.com/pypa/setuptools/issues/510 ;) Marius Gedminas --

[Distutils] Re: requirements.txt or not requirements.txt?

2018-05-07 Thread Marius Gedminas
wn to work, so I use pip freeze (or pip-tools) to get a requirements.txt with all the frozen versions. HTH, Marius Gedminas -- Everyone generalizes from one example. At least, I do. -- Steven Brust signature.asc Description: PGP signature -- Distutils-SIG mailing list distutils-sig@python.o

[Distutils] Re: (Final) PyPI/Warehouse weekly report: legacy is shut down

2018-05-02 Thread Marius Gedminas
On Tue, May 01, 2018 at 09:09:02PM -0400, Sumana Harihareswara wrote: > Ernest sunset Legacy, fixed a subsequent outage (my fault for putting a > hostname in the title of a blog post!), Surely not your fault! You merely discovered a bug (about which I would love to hear more). Marius Ge

Re: [Distutils] pypi.python Error 403 Forbidden

2018-02-14 Thread Marius Gedminas
will > have to directly go to HTTPS > > - It is true? Yes. > - Is this the right place if I have any questions? Yes. HTH, Marius Gedminas -- Any sufficiently advanced technology is indistinguishable from a rigged demo. - Andy Finkel, compute

Re: [Distutils] Disabling non HTTPS access to APIs on PyPI

2017-10-31 Thread Marius Gedminas
so ask them to provide a pip/setuptools SRU. (If you're not paying Canonical, then you're not getting security updates and should upgrade ASAP.) Marius Gedminas -- Favorite MS-DOS error message: "Drive C: not ready, close door." signature.asc Descriptio

Re: [Distutils] Entry points: specifying and caching

2017-10-20 Thread Marius Gedminas
On Fri, Oct 20, 2017 at 08:10:06AM -0400, Donald Stufft wrote: > Packaging tools shouldn’t be expected to know anything about it other > than the console_scripts feature Please do not forget about gui_scripts entry points! Marius Gedminas -- What can I do with Python that I can't do

Re: [Distutils] Getting dependecies of package from PyPiJSON

2017-07-21 Thread Marius Gedminas
min/ztk-py3-status/blob/master/get_deps.py Regards, Marius Gedminas -- Hi. I'm the "I love you" .signature virus. You have been infected. Please panic immediately. signature.asc Description: PGP signature ___ Distutils-SIG maillist - Distutil

Re: [Distutils] Provisionally accepting PEP 517's declarative build system interface

2017-06-01 Thread Marius Gedminas
outcome) My personal favorite was PyGame doing raw_input() from its setup.py. Marius Gedminas -- After having done some test using hi-tech istruments (moving my mouse during a kernel build) [...] -- Davide Libenzi on lkml signature.asc Description: P

Re: [Distutils] reproducible builds

2017-03-21 Thread Marius Gedminas
ll want to test with Python 3.5, which perturbs the dict ordering randomly, as a side effect of the randomized string/bytes hashes (unless you fix it by setting the PYTHONHASHSEED environment variable[*]) [*] https://docs.python.org/3.3/using/cmdline.html#envvar-PYTHONHASHSEED Regards, Marius Ged

Re: [Distutils] Module Installation Issues

2016-09-14 Thread Marius Gedminas
ple expect it to work, without the (). Marius Gedminas -- If your company is not involved in something called "ISO 9000" you probably have no idea what it is. If your company _is_ involved in ISO 9000 then you definitely have no idea what it is. (Scott Adams

[Distutils] Things that are not pip-installable (was Re: moving things forward) shouldn't)

2016-05-05 Thread Marius Gedminas
i.python.org/pypi/PyQt5/5.6 Doesn't seem to work for me, with pip 8.1.1 on a 64-bit Linux machine: $ pip install pyqt5 Collecting pyqt5 Could not find a version that satisfies the requirement pyqt5 (from versions: ) No matching distribution found for pyqt5 Marius

Re: [Distutils] 'Invalid module name' creating package with setuptools

2016-04-15 Thread Marius Gedminas
following error: > > $ python setup.py bdist_wheel --universal > error in proj setup command: ('Invalid module name', 'proj') (That is not a good error message indeed.) Marius Gedminas -- This loads a GDT entry into the "Task Register": that entry points to a structure called t

Re: [Distutils] For maximum performance, Python packages are best installed as zip files.

2016-04-11 Thread Marius Gedminas
erything unzipped was 2nd fastest - multiple zipped eggs were slowest This was probably done in the times of rotational hard disks. It would be interesting to see someone repeat that experiment. Marius Gedminas -- I've never understood the pathological fear some companies seem to have about

Re: [Distutils] abstract build system PEP update

2016-02-17 Thread Marius Gedminas
On Thu, Feb 18, 2016 at 12:12:41PM +1300, Robert Collins wrote: > On 17 February 2016 at 20:13, Marius Gedminas <mar...@gedmin.as> wrote: > > On Tue, Feb 16, 2016 at 04:10:43PM +1300, Robert Collins wrote: > >> diff --git a/build-system-abstraction.rst b/build-system-ab

Re: [Distutils] abstract build system PEP update

2016-02-16 Thread Marius Gedminas
re expected to edit by hand? If so, can we please not use JSON? JSON is rather hostile to humans: no trailing commas, no possibility to add comments. Marius Gedminas -- Debugging a computer program is such an interesting activity because it's not really a matter of fixing a program. It's a matt

Re: [Distutils] SOABI for Unicode ABI on 2.x (was: wheel 0.27.0 released)

2016-02-06 Thread Marius Gedminas
On Sat, Feb 06, 2016 at 09:18:39PM +1000, Nick Coghlan wrote: > On 6 February 2016 at 20:35, Marius Gedminas <mar...@gedmin.as> wrote: > > FWIW the rationale Pyenv gave when they rejected a bug asking for UCS-4 > > builds by default was "we prefer to follow upstream de

Re: [Distutils] [final version?] PEP 513 - A Platform Tag for Portable Linux Built Distributions

2016-02-06 Thread Marius Gedminas
ases of pip and wheel enable this for > > 2.x; is it also available for all 3.x? > > > > -n > > > > ABI tags always worked with wheel/pip on CPython 3.2+ (it has the SOABI > config var), the new change "backports" this functionality to 2.X. What are the min

Re: [Distutils] [final version?] PEP 513 - A Platform Tag for Portable Linux Built Distributions

2016-02-01 Thread Marius Gedminas
t; unicode Pythons? I don't know of any. Pyenv, OTOH, deliberately uses upstream defaults and so produces narrow unicode builds. Marius Gedminas -- If you are angry with someone, you should walk a mile in their shoes... then you'll be a mile away from them, and you'll have their

Re: [Distutils] Package classifiers - both major and minor Python versions?

2016-01-21 Thread Marius Gedminas
ous tools like caniusepython3 rely on at least the major version > classifier existing to programmatically know about Python 3 support. Are these tools unable to realize that supporting a particular minor version implies support for the corresponding major version? Marius Gedminas -- HOST SYSTEM RESPONDI

Re: [Distutils] namespace_package

2015-12-01 Thread Marius Gedminas
ot;foo/blah/__init__.py". I will try to look in the "wheel" side of > things next I guess. Perhaps pip is doing something since it seems to > install even source distributables by first converting to a wheel. Can you show us your setup.py? Marius Gedminas -- I’m not big o

Re: [Distutils] namespace_package

2015-11-30 Thread Marius Gedminas
am not sure if this somehow ties in to > wheel/pip, since I'm using that for the actual install. Marius Gedminas -- Give a man a computer program and you give him a headache, but teach him to program computers and you give him the power to create headaches for others for the rest of hi

Re: [Distutils] Installing packages using pip

2015-11-16 Thread Marius Gedminas
int the disk space gets garbage-collected. (If we can call reference counting "garbage collection".) The result is as you said: existing processes keep running the old code until you restart them. There are tools (based on lsof, AFAIU) that check for this situation and remind you to re

Re: [Distutils] The future of invoking pip

2015-11-06 Thread Marius Gedminas
tools with commands like $ bin/pip install runsnakerun --- [*] because virtualenv's root is becoming too cluttered with files like pip-selftest.json, and because some evil packages on PyPI install files named README.txt into the virtualenv root. [+] because if you symlink jus

Re: [Distutils] PyPA Roadmap

2015-11-02 Thread Marius Gedminas
d to keep it > accurate as our plans change. Shouldn't Warehouse be mentioned there? Marius Gedminas -- Initially, there were few or no postal regulations governing packages mailed parcel post. To construct a bank in Vernal, Utah in 1916, a Salt Lake City Company figured out that the cheapest

Re: [Distutils] A smaller step towards de-specializing setuptools/distutils

2015-10-30 Thread Marius Gedminas
universal = 1 [+] https://github.com/pypa/twine/blob/master/setup.cfg#L9-L15 [metadata] requires-dist = requests >= 2.3.0 requests-toolbelt >= 0.4.0 pkginfo >= 1.0 setuptools >= 0.7.0 argparse; python_version == '2

[Distutils] Environment markers: ready for prime time?

2015-10-28 Thread Marius Gedminas
uot;) - wheel >= 0.24 (if you have wheel 0.23 or older, environment markers are silently broken and have fun figuring out why: https://github.com/pypa/pip/issues/2870). - does the pip version matter at all? I think not; please correct me if I'm wrong. Some official answers from the hard-w

Re: [Distutils] Where should I put tests when packaging python modules?

2015-10-06 Thread Marius Gedminas
there was a standard way to *declare* how to run the test suite, > such that all our automated tools (or the humans :) didn't have to guess. I have hopes for 'tox.ini' becoming the standard way to test a Python project. Marius Gedminas -- "Actually, the Singularity seems rather useful in the

Re: [Distutils] PEP 503 - Simple Repository API

2015-09-05 Thread Marius Gedminas
of the > characters ``.``, ``-``, or ``_`` replaced with a single ``-`` character. This > can be implemented in Python with the ``re`` module:: > >    import re > >    def normalize(name): >        return re.sub(r"[-_.]+", "-", name).lower() Oh, excellent! Havi

Re: [Distutils] Virtualenv bug breaking tox runs

2015-07-15 Thread Marius Gedminas
' stuff. A different workaround would be to create a clean virtualenv, install tox into it, then run tox from that virtualenv. Marius Gedminas -- Un*x admins know what they are doing by definition. -- Bernd Petrovitsch signature.asc Description: Digital signature

Re: [Distutils] How to implement ‘setup.py’ functionality that itself needs third-party distributions (was: Module from install breaks subsequent install of different distribution)

2015-01-19 Thread Marius Gedminas
and have no idea how reliable it is.) HTH, Marius Gedminas -- Since this protocol deals with Firewalls there are no real security considerations. -- RFC 3093 signature.asc Description: Digital signature ___ Distutils-SIG

Re: [Distutils] Module from install breaks subsequent install of different distribution (was: Python module for use in ‘setup.py’ but not to install)

2015-01-19 Thread Marius Gedminas
used with ('there's a version.py and a ChangeLog in the current working directory') that are false when it's used with other packages, installed via setup_requires. HTH, Marius Gedminas -- I think one of the enduring tragedies of the 22nd century will be that during the 20th and 21st centuries we

Re: [Distutils] setuptools 8 changes are great, but ...

2014-12-17 Thread Marius Gedminas
' Might be https://github.com/buildout/buildout/issues/217 again? Links to these builds are here, if you're familiar with Jenkins: http://jenkins.simplistix.co.uk/job/mush-buildout/ http://jenkins.simplistix.co.uk/job/checker-buildout/ Marius Gedminas -- To express oneself In seventeen

Re: [Distutils] setuptools 8 changes are great, but ...

2014-12-16 Thread Marius Gedminas
to be interpreted as an 3.11 or =3.12 and just needs to be hunted down and replaced with !=3.11.*, or something like that. (It's painful when you get requirement conflict errors with no indication about the source of those requirements.) Marius Gedminas -- The difference between Microsoft and 'Jurassic Parc

[Distutils] Cookie-related PyPI 503 errors

2014-12-15 Thread Marius Gedminas
a week is getting annoying. Can this be fixed please? Marius Gedminas -- Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald Knuth signature.asc Description: Digital signature ___ Distutils-SIG

Re: [Distutils] What binary formats should we be distributing?

2014-11-28 Thread Marius Gedminas
, buildout would get that support automatically, AFAIU. (Why doesn't setuptools support wheels natively?) Wheel files can be created automatically from .egg/.exe files using 'wheel convert', so supporting both shouldn't be a big hassle and can be automated. Marius Gedminas -- 2B OR NOT 2B == FF

Re: [Distutils] Proposal: using /etc/os-release in the platform tag definition for wheel files

2014-11-28 Thread Marius Gedminas
older distros meant in the context of Ubuntu, so I looked it up: /etc/os-release exists in Ubuntu 12.04 LTS (and newer) but didn't exist in Ubuntu 10.04 LTS. Support for Ubuntu 10.04 LTS ends in April 2015. Marius Gedminas -- Give a man a computer program and you give him a headache, but teach him

Re: [Distutils] Call for information - What assumptions can I make about Unix users' access to Windows?

2014-11-07 Thread Marius Gedminas
I have to maintain a set of wheels automatically converted from .exe and .egg installers with https://github.com/mgedmin/wheelwright. Anything that makes it easier for package maintainers build Windows wheels would be very welcome! Marius Gedminas -- For every complex problem, there is a solution

Re: [Distutils] a package with is a module

2014-10-27 Thread Marius Gedminas
think you can safely rely on that implementation detail. Marius Gedminas -- If the facts don't fit the theory, change the facts. -- Albert Einstein signature.asc Description: Digital signature ___ Distutils-SIG maillist - Distutils-SIG

Re: [Distutils] advice re: packaging tasks

2014-10-03 Thread Marius Gedminas
On Thu, Oct 02, 2014 at 09:15:54AM -0700, Chris Jerdonek wrote: On Thu, Oct 2, 2014 at 8:08 AM, Marius Gedminas mar...@pov.lt wrote: I wrote restview for a different purpose, but found it rather useful for discovering ReStructuredText problems that would make PyPI's fall back to plaintext

Re: [Distutils] PEP 470, round 4 - Using Multi Repository Support for External to PyPI Package File Hosting

2014-10-03 Thread Marius Gedminas
the --extra-index-url=URL argument to pip install can be repeated multiple times. It's less clear what to do about environment variables or config file settings. Do I specify space-separated URLs? Newline separated? An example would be good. Marius Gedminas -- Jim's Three Laws of Engineering: 1

Re: [Distutils] advice re: packaging tasks

2014-10-02 Thread Marius Gedminas
examples? Marius Gedminas -- Life begins when you can spend your spare time programming instead of watching television. -- Cal Keegan signature.asc Description: Digital signature ___ Distutils-SIG maillist - Distutils-SIG@python.org

Re: [Distutils] Immutable Files on PyPI

2014-09-28 Thread Marius Gedminas
On Sun, Sep 28, 2014 at 02:21:11PM -0700, Chris Jerdonek wrote: Would this also affect the ability to update the readme information for a version on PyPI (i.e. the information displayed on the default home page generated by PyPI for the release) once the version has already been uploaded to

Re: [Distutils] wheels or system packages for pip on ubuntu

2014-09-03 Thread Marius Gedminas
. $DISTRIB_CODENAME, defined by sourcing /etc/lsb-release, can be helpful here. Marius Gedminas -- Life begins when you can spend your spare time programming instead of watching television. -- Cal Keegan signature.asc Description: Digital signature

Re: [Distutils] Accepting PEP 440: Version Identification and Dependency Specification

2014-09-02 Thread Marius Gedminas
)* to be consistent with http://legacy.python.org/dev/peps/pep-0440/#public-version-identifiers and to make it more apparent at a glance that one number with no dots is also a valid version identifier. Marius Gedminas -- NT 5.0 is the last nail in the Unix coffin. Interestingly, Unix isn't

Re: [Distutils] PEP470, backward compat is a ...

2014-05-16 Thread Marius Gedminas
, not with MD5. Marius Gedminas -- It's my understanding that although in principle TCP can handle huge throughputs in practice many stacks haven't been optimized for that case, so you have to either use a utility which opens multiple TCP sessions in parallel or do something really radical like

Re: [Distutils] pip install -e . vs. python setup.py develop

2014-04-14 Thread Marius Gedminas
was merged two years ago and was supposed to enable pip install -e .[one,two] Marius Gedminas -- What can I do with Python that I can't do with C#? You can go home on time at the end of the day. -- Daniel Klein signature.asc Description: Digital signature

Re: [Distutils] Warehouse XMLRPC

2014-03-07 Thread Marius Gedminas
adapt my script to cope. Marius Gedminas -- Key emulation: [ ] Intuitive [*] Emacs(Seen in an MCEdit dialog) signature.asc Description: Digital signature ___ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman

Re: [Distutils] recommended setuptools version

2014-03-07 Thread Marius Gedminas
was released last night, broke a bunch of popular software, and was hurriedly pulled from PyPI. The current version of ez_setup.py available at https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py also installs 2.2. I suggest you stick with 2.2 until the dust settles. Marius Gedminas

Re: [Distutils] Warehouse XMLRPC

2014-03-06 Thread Marius Gedminas
://zope3.pov.lt/py3/ [1] https://wiki.python.org/moin/PyPIJSON I assume at some point Warehouse will add support for the JSON API and you'll issue a call for testing? Marius Gedminas -- The typewriter was invented by Hungarian immigrant Qwert Yuiop, who left his signature on the keyboard

Re: [Distutils] PyPI Rate Limiting

2014-02-10 Thread Marius Gedminas
[of 10 requests] will be delayed to maintain a 5 req/s maximum mean? Any requests beyond the rate limits will get an HTTP 503 with an empty body. So is it 429 or 503? And is there a delay or not? Marius Gedminas -- Linux is a fast moving project, with very fast evolving components. If you're

Re: [Distutils] PEP-459 feedback from openSUSE packaging

2014-02-04 Thread Marius Gedminas
://pypi.python.org/pypi?%3Aaction=list_classifiers E.g. setup(... licence='GPL', classifiers=[ ..., 'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)', ... ]) Marius Gedminas -- Unix gives you enough rope to shoot

Re: [Distutils] Python Packaging User Guide has moved

2014-01-16 Thread Marius Gedminas
On Thu, Jan 16, 2014 at 09:20:43AM -0500, Daniel Holth wrote: Has anyone ever written a setup.py that was *not* copy-and-pasted from somewhere else? Presumably the 1st setup.py had to have been written by hand somehow. Marius Gedminas -- Five words to strike fear into the heart of any

Re: [Distutils] PyPI download issues from Rackspace Cloud

2014-01-14 Thread Marius Gedminas
On Mon, Nov 25, 2013 at 10:38:09AM +0200, Marius Gedminas wrote: My experimental code: https://gist.github.com/mgedmin/7637559 I now have two Wireshark pcap files of two SSL conversations: one failed, one successful. It's a bit beyond my skills to analyze them. I think the server did send

Re: [Distutils] PyPI download issues from Rackspace Cloud

2013-11-25 Thread Marius Gedminas
in the CPython's ssl module, maybe. But doesn't Requests use it too? Confused, Marius Gedminas -- MCSE == Marginal Computer Software Enthusiast signature.asc Description: Digital signature ___ Distutils-SIG maillist - Distutils-SIG@python.org https

Re: [Distutils] PyPI download issues from Rackspace Cloud

2013-11-24 Thread Marius Gedminas
downloads with pip git master using: $ unset PIP_DOWNLOAD_CACHE $ rm -f virtualenv-1.10.1.tar.gz env/scripts/pip install -d . virtualenv As a control, I tested again with pip 1.4.1, and 2 out of 4 downloads failed with a bad hash error. Interesting. Marius Gedminas -- Those parts

[Distutils] PyPI download issues from Rackspace Cloud

2013-11-23 Thread Marius Gedminas
fails with a bad md5hash error 9 times out of 10. Curiously, it's the same bad hash every time: 20cf17baaf2126f99d6f652831f82d75. I used http://www.python.org/ftp/python/2.7.6/python-2.7.6.msi to install Python on this Windows 2012 server (64-bit OS, 32-bit Python). Any ideas? Marius Gedminas

Re: [Distutils] Warehouse and XMLRPC

2013-11-18 Thread Marius Gedminas
means the JSON API is not implemented yet.) I don't know whether REST API is the same thing, or if we're talking about two different things here. Marius Gedminas -- Voodoo Programming: Things programmers do that they know shouldn't work but they try anyway, and which sometimes actually work

Re: [Distutils] PyPI v2 (Was: PyPI pull request #7)

2013-11-17 Thread Marius Gedminas
-wide PostgreSQL to be running. Marius Gedminas -- Those who can't write, write manuals. signature.asc Description: Digital signature ___ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig

Re: [Distutils] setuptools and use_2to3

2013-11-11 Thread Marius Gedminas
never used 2to3. Marius Gedminas -- What goes up, must come down. Ask any system administrator. signature.asc Description: Digital signature ___ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig

Re: [Distutils] Removing dependency_links

2013-10-29 Thread Marius Gedminas
is fine, the other is not. Marius Gedminas -- Never assume the reader has read the subject line. signature.asc Description: Digital signature ___ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig

Re: [Distutils] Deprecate and Block requires/provides

2013-10-17 Thread Marius Gedminas
they are creating a package. In other words by the time the email goes out they've already been confused. Is it possible to make 'python setup.py sdist upload' emit a warning message about using these deprecated fields, without rejecting the upload? Marius Gedminas -- Q: How many IBM CPU's does it take

Re: [Distutils] zc.buildout bootstrap.py v1 died /?python-distribute.org down

2013-10-15 Thread Marius Gedminas
) Are you saying that python-distribute.org was shut down on purpose and will not come back up? Marius Gedminas -- We have enough youth, how about a fountain of SMART? signature.asc Description: Digital signature ___ Distutils-SIG maillist - Distutils

Re: [Distutils] dependency_links format changed?

2013-10-14 Thread Marius Gedminas
find on the internet also seem to suggest it should work. Has this been changed on purpose, or should it be reported as a bug? It was on purpose. Marius Gedminas -- Gates' Law: Every 18 months, the speed of software halves. signature.asc Description: Digital signature

Re: [Distutils] URL Structure of Packages URLs

2013-10-08 Thread Marius Gedminas
/requests/requests-(.*)\.tar\.gz HTH, Marius Gedminas -- Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say

Re: [Distutils] Deviation between distutils and setuptools over package_data

2013-09-20 Thread Marius Gedminas
this process somewhat less painful: https://pypi.python.org/pypi/check-manifest /shameless_plug Regards, Marius Gedminas -- Nobody will ever need more than 640k RAM! -- Bill Gates, 1981 Windows 95 needs at least 8 MB RAM. -- Bill

Re: [Distutils] Deviation between distutils and setuptools over package_data

2013-09-20 Thread Marius Gedminas
On Fri, Sep 20, 2013 at 08:15:43AM -0400, Jim Fulton wrote: On Fri, Sep 20, 2013 at 6:41 AM, Marius Gedminas mar...@pov.lt wrote: On Fri, Sep 20, 2013 at 04:43:23PM +1000, Nick Coghlan wrote: On 20 September 2013 00:02, Benjamin Root ben.v.r...@gmail.com wrote: I will point out that even

Re: [Distutils] Deviation between distutils and setuptools over package_data

2013-09-20 Thread Marius Gedminas
on this one machine? No error, just a broken sdist.) BTW if you use zest.releaser, check-manifest plugs into it and stops the release (well, asks if you REALLY want to continue, defaulting to No) if your MANIFEST.in doesn't match your VCS. Marius Gedminas -- It was the kind of night on which bad

Re: [Distutils] bootstrap 1.5.2, python2.6 and DistributionNotFound

2013-09-10 Thread Marius Gedminas
and 2.x. Marius Gedminas -- Writing like a l33t script kiddie hax0r is the absolute kiss of death and guarantees you will receive nothing but stony silence (or, at best, a heaping helping of scorn and sarcasm) in return. -- ESR (http://www.tuxedo.org/~esr/faqs/smart-questions.html

Re: [Distutils] (no subject)

2013-09-05 Thread Marius Gedminas
password /or passphrase/. Most people aren't password experts, and the current one-line message isn't useful. A link here should do the trick (which succinctly sums up this entire thread): https://xkcd.com/936/ I hate that comic :| Why? Marius Gedminas -- You can't have megalomania. *I

Re: [Distutils] buildout bootstrap.py doesn't work on Sabayon Linux with system python

2013-08-23 Thread Marius Gedminas
. Then bootstrap tries to upgrade it to the newest distribute, which is a shim that depends on new setuptools, but bootstrap's upgrader isn't smart enough to go and fetch dependencies so it all breaks down in the same error you've seen. Upgrading setuptools with pip avoids this failure. Marius Gedminas

Re: [Distutils] Preemptive Apology for Volume of Mail

2013-06-04 Thread Marius Gedminas
twice in the roles table. Stephan Richter had a script that granted access to all of zope.* to somebody; perhaps I was manually to a couple of packages before that script ran. Or something. PyPI could use something like GitHub organization accounts. Marius Gedminas -- C is a language

[Distutils] Buildout can't talk to PyPI any more?

2013-05-29 Thread Marius Gedminas
find a distribution for 'zodbbrowser'. Meanwhile both $ virtualenv env env/bin/pip install zodbbrowser and $ virtualenv env env/bin/easy_install zodbbrowser work fine. Marius Gedminas -- Those who can't write, write manuals. signature.asc Description: Digital signature

Re: [Distutils] Buildout can't talk to PyPI any more?

2013-05-29 Thread Marius Gedminas
On Wed, May 29, 2013 at 11:03:39AM +0200, Lennart Regebro wrote: On Wed, May 29, 2013 at 10:19 AM, Marius Gedminas mar...@pov.lt wrote: Could it be that recent PyPI CDN changes broke zc.buildout somehow? Witness this: $ wget http://downloads.buildout.org/2/bootstrap.py $ cat

Re: [Distutils] Buildout can't talk to PyPI any more?

2013-05-29 Thread Marius Gedminas
while sitting in an OR waiting room. I'm in awe. Marius Gedminas -- IBM motto: TEN vowels? Don't you know vowels are scrd? -- Linus Torvalds signature.asc Description: Digital signature ___ Distutils-SIG maillist - Distutils-SIG

Re: [Distutils] does pypi or red-dove have a better firehose API than download all the packages?

2013-05-25 Thread Marius Gedminas
On Fri, May 24, 2013 at 08:05:45PM +, holger krekel wrote: On Fri, May 24, 2013 at 17:51 +0300, Marius Gedminas wrote: On Fri, May 24, 2013 at 02:01:16PM +, holger krekel wrote: On Fri, May 24, 2013 at 09:55 -0400, Donald Stufft wrote: Most packages also have an egg-info inside

Re: [Distutils] does pypi or red-dove have a better firehose API than download all the packages?

2013-05-24 Thread Marius Gedminas
, either the authors or the servers. Which doesn't accurately represent all of the dependencies all of the time. True but maybe it would go a long way for most packages. In that case you might find https://github.com/mgedmin/ztk-py3-status/blob/master/get_deps.py useful. Marius Gedminas

Re: [Distutils] PEP 438 - Transition Phase 1

2013-05-20 Thread Marius Gedminas
, and when the template was rendered the data was still xml escaped and again invalid javascript. I think scripts in XHTML were supposed to be XML-escaped. AFAIU zope.pagetemplate was designed back when XHTML was supposed to be The Bright Future of the Web. Marius Gedminas -- Always proofread

Re: [Distutils] does pypi or red-dove have a better firehose API than download all the packages?

2013-05-16 Thread Marius Gedminas
could before deciding I couldn't do any better than one HTTP request per package (to get JSON data for the latest release) for https://github.com/mgedmin/ztk-py3-status/blob/master/get_pypi_status.py Marius Gedminas -- Never trust a smiling Gates. signature.asc Description: Digital signature

Re: [Distutils] buildout 2 more craziness: still using site-packages from another python install

2013-04-05 Thread Marius Gedminas
-link file that puts /Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages in your sys.path. When in doubt, rm -rf develop-eggs before retrying. Marius Gedminas -- 1 + 1 = 3 -- from a Microsoft advertisement signature.asc Description: Digital signature

Re: [Distutils] buildout 2 craziness: upgrading to distribute 0.6.26 and using site-packages from another python install

2013-04-05 Thread Marius Gedminas
/buildout $@ and haven't encountered any issues yet. Marius Gedminas -- When in trouble or in doubt, run in circles, scream and shout. signature.asc Description: Digital signature ___ Distutils-SIG maillist - Distutils-SIG@python.org http

Re: [Distutils] distribute does not install with python3 on Ubuntu machine

2013-03-19 Thread Marius Gedminas
it again instead. Wouldn't merging Vinay's distribute3 branch fix this? http://mail.python.org/pipermail/distutils-sig/2013-February/019990.html Marius Gedminas -- * philiKON wonders what niemeyer is committing :) *** benji_york is now known as benji benji murder? -- #zope3-dev

Re: [Distutils] [venv] distribute-0.6.35 fails on python 3.3?

2013-03-06 Thread Marius Gedminas
for them to release into the wild. Marius Gedminas -- C is quirky, flawed, and an enormous success. -- Dennis M. Ritchie signature.asc Description: Digital signature ___ Distutils-SIG maillist - Distutils-SIG@python.org http

Re: [Distutils] [venv] distribute-0.6.35 fails on python 3.3?

2013-02-26 Thread Marius Gedminas
hard would it be to rewrite distribute to use a common language subset instead of relying on 2to3? Marius Gedminas -- C++ is a loaded machine gun helpfully pointed at your feet with the safety off. -- ChaosDiscord on Slashdot signature.asc Description: Digital signature

Re: [Distutils] bug in z3c.recipe.scripts

2013-02-15 Thread Marius Gedminas
On Thu, Feb 14, 2013 at 09:55:37PM -0500, Gary Poster wrote: Hi all. happy to grant pypi access to whomever. My PyPI username is 'mgedmin'. Thanks! Marius Gedminas -- Apologies for taking up the bandwidth with the apology. Anything else I can apologise for .. er no can't think

Re: [Distutils] bug in z3c.recipe.scripts

2013-02-14 Thread Marius Gedminas
his email address? (I can probably fish it out, but got no time right now.) Marius Gedminas -- When we say we want readable code, we don't mean we want to sit in a comfortable chair and page through a Java-saga. --- http://www.wordaligned.org/articles/pitching-python-in-three-syllables

Re: [Distutils] buildout/distribute (?) issue with Python 3 on Windows

2013-02-13 Thread Marius Gedminas
'): +if dist.metadata_isdir(name): +continue contents = dist.get_metadata('scripts/' + name) distutils_scripts.append((name, contents)) else: IOW bug in buildout, please file. Marius Gedminas -- Always proofread carefully

Re: [Distutils] Problems installing otrace - unexpanded @libdir@ string

2013-02-11 Thread Marius Gedminas
the 'sys.path.append()' bit. It would help if you could figure out which version of setuptools (or distribute) you're using. python -c 'import setuptools; print(setuptools.__file__)' could give you a hint. Marius Gedminas -- If C gives you enough rope to hang yourself, C++ gives you enough rope

Re: [Distutils] I wonder what is the best practice to clean a buildout project ?

2013-01-31 Thread Marius Gedminas
found the need to 'make clean' a buildout project, but if I did, I'd add a makefile rule. Marius Gedminas -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code signature.asc Description: Digital signature

Re: [Distutils] pip and distutils

2013-01-30 Thread Marius Gedminas
= [Foo=0.7, Bar=2.4.5] I think you meant install_requires=[Foo = 0.7, Bar = 2.4.5], (This also requires that you import setup from setuptools and not distutils.) Marius Gedminas -- Look! Before our very eyes, the future is becoming the past. signature.asc Description: Digital signature

Re: [Distutils] [buildout] supported python versions for buildout 2?

2013-01-24 Thread Marius Gedminas
Programming Language :: Python :: 3.2 Programming Language :: Python :: 3.3 I'll submit a pull request to remove 2.4 and 2.5. (later) https://github.com/buildout/buildout/pull/45 Marius Gedminas -- Veni, Vidi, VISA: I came, I saw, I did a little shopping. signature.asc Description: Digital

Re: [Distutils] Proposal for incorporating buildout-versions on buildout (Re: Better version pinning in buildout (buildout-versions))

2013-01-12 Thread Marius Gedminas
I'm withholding the other 0.5 for now.) (Aside: I always wanted buildout to have --newer and --not-newer, because I cannot for the life of me remember which is -n and which is -N. Being able to say bin/buildout newer=off would relieve that need considerably.) Marius Gedminas -- Beware of bugs

Re: [Distutils] Proposal for incorporating buildout-versions on buildout (Re: Better version pinning in buildout (buildout-versions))

2013-01-12 Thread Marius Gedminas
=bar and it will be applied to the buildout section? How about allowing parameter/values to be applied to any section I believe that's already allowed: $ buildout foo:bar=baz To set parameter 'bar' with value 'baz' in section 'foo'. Marius Gedminas -- Life begins when you can spend your

Re: [Distutils] Better version pinning in buildout (buildout-versions)

2013-01-08 Thread Marius Gedminas
On Tue, Jan 08, 2013 at 08:02:56AM -0500, Jim Fulton wrote: On Tue, Jan 8, 2013 at 7:45 AM, Marius Gedminas mar...@pov.lt wrote: ... If backwards-compatibility weren't an consideration, I'd be tempted to have buildout 2.0 hardcode the versions section name to [versions] and have the append

Re: [Distutils] Better version pinning in buildout (buildout-versions)

2013-01-07 Thread Marius Gedminas
mechanisms for version pinning? I'm -1 on that. Marius Gedminas -- lg_PC.gigacharset (lg = little green men language, PC = proxima centauri) -- Markus Kuhn provides an example of a locale signature.asc Description: Digital signature

Re: [Distutils] buildout.dumppickedversions and buildout_versions

2013-01-04 Thread Marius Gedminas
wish I'd noticed buildout-versions had this check before I hacked up an ad-hoc Makefile snippet of my own. Marius Gedminas -- It was the kind of night on which bad novels began. -- 1634: The Galileo Affair by Eric Flint and Andrew Dennis signature.asc Description: Digital signature

Re: [Distutils] buildout.dumppickedversions and buildout_versions

2013-01-03 Thread Marius Gedminas
. This could be a builtin feature called, e.g., 'append-picked-versions-to = versions.cfg'. I consider buildout-versions to be essential for my use of buildout. Marius Gedminas -- IBM motto: If you can't read our assembly language, you must be borderline dyslexic, and we don't want you to mess

Re: [Distutils] buildout.org A record

2012-09-28 Thread Marius Gedminas
. buildout.org has address 176.9.22.59 $ host www.buildout.org ns1.gocept.com. Host www.buildout.org.lan not found: 5(REFUSED) No idea where that '.lan' comes from $ host www.buildout.org. ns1.gocept.com. Host www.buildout.org. not found: 3(NXDOMAIN) Marius Gedminas -- BYTE

Re: [Distutils] Buildout 1.6 release tomorrow

2012-08-14 Thread Marius Gedminas
are: - https://bugs.launchpad.net/bugs/697913 : Buildout doesn't honor exit code from scripts. Fixed. - Handle both addition and subtraction of elements (+= and -=) on the same key in the same section. Marius Gedminas -- Lisp-style macros [...] are to C-style macros what Emacs is to cat

  1   2   >