Giter Site home page Giter Site logo

Comments (5)

tiliv avatar tiliv commented on July 30, 2024

Hello! I'd like to apologize for the trouble we've had using the release system. I'm still new to publishing on the PyPI system, and the documentation out there is confusing at best.

I think we've got the system working now, if you wouldn't mind trying to install the 0.5.3 version. This seems to work for me now, but please let me know if it's still not right.

from django-datatable-view.

aklaver avatar aklaver commented on July 30, 2024

Well I can get it to install building from the tarball, from pip is still an issue. For some reason it wants to install 0.5.1 even when I try to force it to the new version:
aklaver@killi:~> sudo pip install --upgrade django-datatable-view==0.5.3
Downloading/unpacking django-datatable-view==0.5.3
Running setup.py egg_info for package django-datatable-view

warning: no files found matching 'static/js/*.js'
warning: no files found matching 'templates/datatableview/*.html'

Requested django-datatable-view==0.5.3, but installing version 0.5.1
Installing collected packages: django-datatable-view
Running setup.py install for django-datatable-view

warning: no files found matching 'static/js/*.js'
warning: no files found matching 'templates/datatableview/*.html'

Successfully installed django-datatable-view
Cleaning up...

from django-datatable-view.

tiliv avatar tiliv commented on July 30, 2024

Hm... looks like a cache problem. Sometimes pip sees that it has a package file already downloaded (perhaps in your working directory or pip installation cache) and thinks you want that one instead.

If possible, try to locate the 0.5.1 version and remove the files for a clean attempt.

from django-datatable-view.

aklaver avatar aklaver commented on July 30, 2024

I did remove the files from site-packages/, to no effect. Turns out I needed to go into /tmp under pip-build-root/ and get rid of the files there. My guess is the issue is that the first time using 0.5.1 via pip it installed as a directory datatableview/ in site-packages. When I could not get 0.5.3 to install from pip I built from the tarball and it installed as an egg. Even though I removed both the directory and the egg pip got confused until I got rid of the build directory. FYI I did a fresh installed on a different machine to verify and it installed but I got the following message which is somewhat confusing but ultimately not true from what I could see:
Downloading/unpacking django-datatable-view
Downloading django-datatable-view-0.5.3.tar.gz
Running setup.py egg_info for package django-datatable-view

warning: no files found matching 'static/*' under directory 'datatableview'
warning: no files found matching 'templates/*' under directory 'datatableview'

Installing collected packages: django-datatable-view
Running setup.py install for django-datatable-view

warning: no files found matching 'static/*' under directory 'datatableview'
warning: no files found matching 'templates/*' under directory 'datatableview'

Successfully installed django-datatable-view
Cleaning up...

Thanks for the help.

from django-datatable-view.

tiliv avatar tiliv commented on July 30, 2024

Yeah, for all I know, the sdist upload to pypi is still somehow broken... (yet it works locally when I build from setup.py, so I don't really understand where the difference is)

In the end, I just made sure it always pulls from the repository tag, which is guaranteed to have everything.

Thanks for the report!

from django-datatable-view.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.