Code Monkey home page Code Monkey logo

Comments (4)

tom-shan avatar tom-shan commented on July 2, 2024

dir2pi will create an index.html in each directory by default refer to https://github.com/wolever/pip2pi/blob/master/libpip2pi/commands.py#L220-L226

But I think https://github.com/wolever/pip2pi/blob/master/libpip2pi/commands.py#L376 this line should be changed to pkg_index += "<a href='%s/index.html'>%s</a><br />\n" %(

from pip2pi.

stefanoborini avatar stefanoborini commented on July 2, 2024

@tom-shan yes, the problem is that it doesn't only do that. I would need a functionality just to create the index file from the currently deployed packages, but I could not find anything that does so.

from pip2pi.

tom-shan avatar tom-shan commented on July 2, 2024

IIUC, if you really only want those index.htmls, how about deleting all the useless packages after the generation?

from pip2pi.

stefanoborini avatar stefanoborini commented on July 2, 2024

@tom-shan that's not what I want. I have a pypi content with all the packages there and they have to stay there, but I don't have autoindex in the web server to generate the A HREF page. I need something to generate this page, and I need to get this done fast.

from pip2pi.

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.