Re: [Distutils] namespace_package

2015-12-04 Thread Zvezdan Petkovic
/TestSomeClass.java src/scala/main/…. You get the idea. And all the directories until z would have no code in them. At least we don’t need to do that much nesting. :-) All the best, Zvezdan > On Dec 4, 2015, at 12:19 PM, Lele Gaifax wrote: > > Zvezdan Petkovic writes: > >> Did you

Re: [Distutils] namespace_package

2015-12-04 Thread Zvezdan Petkovic
Hi Lele, I took a quick look at your GitHub demo project. For what it’s worth, I do not have issues with editable packages and package dir, but I also: - use setuptools.find_packages(’src’) to get my packages automatically (this shouldn’t be important) - use package_dir={‘’: ’src’} - have my n

Re: [Distutils] namespace_package

2015-12-02 Thread Zvezdan Petkovic
be able to help better if we can try and reproduce. Otherwise, it’s hard. Thanks! Zvezdan > > > > On Wed, Dec 2, 2015 at 9:54 PM, Zvezdan Petkovic <mailto:zvezdanpetko...@gmail.com>> wrote: > Hi KP, > > Maybe I didn’t follow the thread from the begi

Re: [Distutils] namespace_package

2015-12-02 Thread Zvezdan Petkovic
Hi KP, Maybe I didn’t follow the thread from the beginning, but your use case is not clear to me. > On Dec 1, 2015, at 1:31 PM, KP wrote: > > (sorry for the stupid previous early send) > > Just to recap: > > 1. if you don’t put namespace_packages in the setup.py, then it will > uninstall t

Re: [Distutils] namespace_package

2015-12-02 Thread Zvezdan Petkovic
Hi KP, > On Dec 1, 2015, at 4:17 AM, KP wrote: > > yes, both of those statements are true. > > However, with the namespace_packages = [‘foo'], the > lib\site-packages\foo\__init__.py does not get installed (even though it is > in the source tree). This is exactly how it’s supposed to behave

Re: [Distutils] Can't count on -S to get a clean Python (at least on mac)

2012-04-07 Thread Zvezdan Petkovic
I know what you mean when you say clean Python. However, for vendors, clean Python is the distribution that supports all their features and does not break their promises. They do not promise Python with no additional extra packages. For example, Apple has the support for the scripting bridge

Re: [Distutils] RFC: Binary Distribution Format for distutils2/packaging

2012-03-14 Thread Zvezdan Petkovic
On Mar 14, 2012, at 1:42 PM, Chris Barker wrote: > 1) there are folks that want to do a little python that don't have any > experience or interest in the whole C building thing -- and to get the > compiler on the Mac, you need to register with Mac Developer > connection, then download a MASSIVE b

Re: [Distutils] unable to upload to pypi

2011-07-27 Thread Zvezdan Petkovic
On Jul 27, 2011, at 9:34 AM, Alan Franzoni wrote: > On Wed 27 Jul 2011 02:34:03 PM CEST, Zvezdan Petkovic wrote: >> In short, the order is important: >> >> 1. build a source distribution >> 2. register >> 3. upload > > I'd object that.

Re: [Distutils] unable to upload to pypi

2011-07-27 Thread Zvezdan Petkovic
On Jul 27, 2011, at 7:40 AM, Algis Kabaila wrote: You ran this command, apparently: python setup.py register sdist upload > Now the dialog is as follows: > ... > Registering Matalg to http://pypi.python.org/pypi > Server response (400): Bad Request It does not know what to register at