Giter Club home page Giter Club logo

Comments (6)

jpivarski avatar jpivarski commented on June 14, 2024

Is it literally installed in the system's /usr/ directory? It's supposed to go in the Python package, .../python3.x/site- packages/awkward/, i.e. not in any system directory at all.

This configuration is copied from uproot, which needed to ship the README as a part of the distribution for readthedocs documentation. Having it buried in site-packages is an acceptable side-effect, but having it installed in any system directory, including .../share/doc/ is not. Does the same thing happen with an uproot installation?

from awkward-0.x.

susanwl avatar susanwl commented on June 14, 2024

Yep, it is literally installed there. Same happens for uproot and uproot-methods.

from awkward-0.x.

jpivarski avatar jpivarski commented on June 14, 2024

I'll fix this as soon as I have access to a computer, which might be tomorrow or Monday.

Thanks for pointing it out.

from awkward-0.x.

jpivarski avatar jpivarski commented on June 14, 2024

I simply removed the data_files line from setup.py of awkward, uproot-methods, and uproot. This line doesn't seem to have been necessary: the PyPI pages of all three projects show the text derived from the README, and I didn't see any issues with pip-installing (tested under Miniconda). It was probably an intermediate step in setting up documentation, and I never realized that it now works without that.

Also, it seems that the consequences of data_files differ from one system to another: on mine, it buried the README under site-packages; it did not put it at /usr/ or $PREFIX. But there were comments on StackOverflow about it going under sys.prefix. Could you test installation on your system, to see if it puts anything on /usr/ anymore?

Thanks!

from awkward-0.x.

susanwl avatar susanwl commented on June 14, 2024

I have tested all three packages and README.rst is not installed anymore to the /usr dir.

Thank you!

from awkward-0.x.

jpivarski avatar jpivarski commented on June 14, 2024

Great! Thanks for testing!

from awkward-0.x.

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.