google-code-export / django-grappelli

Automatically exported from code.google.com/p/django-grappelli
0 stars 0 forks source link

Need to be registered at Python Package Index / add download archives #150

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Not being able to install by running ``easy_install`` is somewhat 
inconvenient.

In my view, grappelli should be indexed at http://pypi.python.org . Moreover, 
some archives should be created here, at google-code.

Original issue reported on code.google.com by LukaszBa...@gmail.com on 28 Dec 2009 at 10:54

GoogleCodeExporter commented 9 years ago
done

see http://pypi.python.org/pypi/django-grappelli

Original comment by klemens.mantzos on 4 Jan 2010 at 4:57

GoogleCodeExporter commented 9 years ago
Thanks for this but... grappelli still cannot be installed via easy_install.

It's good that it is indexed at all, on the other hand there is only one little 
step from 
now to make it even better: uploading distribution to pypi.

Probably this would involve in some setup.py modifications as with script from 
trunk 
present at the moment of writing will not copy media files.

I'm not sure about that but I think that setuptools/pip can figure out what to 
fetch 
from code.google.com if only there is archive given on the project page (second 
part 
of initial issue comment ;-))

I would be glad for any of this - either distro upload at pypi or create 
archive at 
code.google.com. Unless I'm missing some development plans which do not involve 
providing yet-not-stable trunk version in form other than svn repository?

Original comment by LukaszBa...@gmail.com on 4 Jan 2010 at 5:34

GoogleCodeExporter commented 9 years ago
thanks for the info.

i uploaded grappelli and filebrowser to pypi. pretty much a newbie on this 
topic so
please let me know if it is working and or improvements are recommended.

(did this via "python setup.py sdist upload")

Original comment by klemens.mantzos on 6 Jan 2010 at 12:17

GoogleCodeExporter commented 9 years ago
Hi, documentation for setuptools is not straightforward in the matter of 
including, 
for instance, media files. While creating setup.py I took the one from Django 
as the 
base.

There are a lot of media files in grappelli and being forced to download 
sources and 
then copy part of it into one's project is not the best solution, imho. I would 
write 
own 'find_packages' (as mentioned, Django is doing that). That way, one may 
simply 
symlink to media folder inside grappelli package. I could also think about 
simple 
custom management command which would get media directory straight from local 
grappelli installation and put it in a given destination. If you would be 
interested, I 
could spare a minute or two and help you out -just send me a note at 
lukaszbalcerzak@gmail.com .

Original comment by LukaszBa...@gmail.com on 7 Jan 2010 at 9:26

GoogleCodeExporter commented 9 years ago
Hi, regarding to including media files (or anything other than a package BTW) I 
think
you can look at what our clever friends at django have done:
http://code.djangoproject.com/svn/django/trunk/setup.py

They explicitely walk the directory tree in order to list package and data 
folders.

Original comment by guillaum...@gmail.com on 13 Apr 2010 at 5:43

GoogleCodeExporter commented 9 years ago

Original comment by sehmaschine on 14 Apr 2010 at 6:51

GoogleCodeExporter commented 9 years ago
made some improvements:

- added include_package_data=True, to setup.py
- added MANIFEST.in

mkay? does that fix your issue too?

Original comment by klemens.mantzos on 11 May 2010 at 3:05

GoogleCodeExporter commented 9 years ago

Original comment by klemens.mantzos on 21 May 2010 at 1:08

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
please add support for 2.1 via pypi. It seems like only 2.0 is supported and I 
(like many others) are using pip and django 1.2

Thanks!

Original comment by philipp....@gmail.com on 1 Sep 2010 at 9:29