Coder Social home page Coder Social logo

Comments (8)

Carreau avatar Carreau commented on August 23, 2024

Wouldn't this be better in something like pyproject.toml which already support extra sections for external tools ? It would be better to develop a tool that does discover testing outside of pip/pipfile and once stabilized fold it into pip once the use has been shown and it's stable.

from pipfile.

proofit404 avatar proofit404 commented on August 23, 2024

I don't know if working with pyproject.toml is in the goal of pipenv tool.

from pipfile.

pradyunsg avatar pradyunsg commented on August 23, 2024

As of now, this functionality is provided by non-pip tools. Pipfile is meant to be a replacement for the requirements.txt format.

It would definitely be great to have something to automatically run the tests and all. It's just not something for Pipfile to handle. This will be provided as a part of pyproject.toml, so that build tools can use it. Pipfile is for handling and managing dependencies.

from pipfile.

dstufft avatar dstufft commented on August 23, 2024

Yea, this is something that would go inside of pyproject.toml, not Pipfile.

from pipfile.

proofit404 avatar proofit404 commented on August 23, 2024

Originally this issue was filed to the pipenv bug tracker and was moved here after maintainer advice. Still I don't have answer that kind of tool can handle scripts whenever it written in pyproject.toml or Pipfile.toml.

from pipfile.

dstufft avatar dstufft commented on August 23, 2024

Adding an official section to pyproject.toml would require writing a PEP, individual tools are free to add whatever keys they want under their [tool.NAMEONPYPI] table.

from pipfile.

proofit404 avatar proofit404 commented on August 23, 2024

If I understand correctly there is no such tool yet?

from pipfile.

pradyunsg avatar pradyunsg commented on August 23, 2024

There are no such tools that I know of.

Currently, the details of the file are still being worked on. PEP 518 is a start to adding proper declarative build information and build system determination. As I see it, the rest will be specified in the near future.

from pipfile.

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.