Git Product home page Git Product logo

Comments (9)

saulpw avatar saulpw commented on May 24, 2024

Thanks for the suggestion. I would like to keep VisiData light and hackable, so the less overhead the better. It's not a big deal, and since someone else requested this too, I probably will make a package for it (at least by v1.0). But I don't really understand, what is the advantage to making a package for it, when the script can just be copied as-is to a bin directory?

from visidata.

scls19fr avatar scls19fr commented on May 24, 2024

see https://github.com/firecat53/tabview/blob/master/setup.py or https://github.com/wavexx/gtabview/blob/master/setup.py

with

scripts=['bin/tabview'],

your script will be automatically stored in a bin directory which is part of your PATH so with a setup.py it will be easier to install it and have it available from any directory.

from visidata.

multimeric avatar multimeric commented on May 24, 2024

The main advantage, I imagine, is that you could just pip install visidata instead of

git clone https://github.com/saulpw/visidata
cd visidata
cp vd.py /usr/local/bin

from visidata.

saulpw avatar saulpw commented on May 24, 2024

Okay, I merged a setup.py into master with v0.30. Can you test that it installs properly for you?

from visidata.

scls19fr avatar scls19fr commented on May 24, 2024

You might enable Travis and have a very basic test to ensure that it installs correctly

from visidata.

multimeric avatar multimeric commented on May 24, 2024

Thanks for making a package. Can you start publishing versions to pypi?

from visidata.

saulpw avatar saulpw commented on May 24, 2024

Yes, I am finishing up some work on it this week, and will publish the next version on pypi very soon. Thanks for pinging me on this.

from visidata.

saulpw avatar saulpw commented on May 24, 2024

I published v0.37 on pypi tonight.

from visidata.

multimeric avatar multimeric commented on May 24, 2024

from visidata.

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.