GithubHelp home page GithubHelp logo

Comments (7)

mlissner avatar mlissner commented on August 22, 2024

OK, this is pretty simple, actually. See the answer here as a starting point:

http://stackoverflow.com/a/27091478/64911

from juriscraper.

mlissner avatar mlissner commented on August 22, 2024

Turns out this is a bit of a pain, and I could use some help from somebody that knows the conventions.

I was able to do most of the work in a new branch (named issue-59-pip), but ran out of time and had to stop. I think I've got an installable thing working. You can build with:

python setup.py sdist bdist_wheel

And you can install locally with:

pip install dist/juriscraper-1.0.tar.gz --upgrade

So that's cool. But:

  • that doesn't handle the installation of the dependencies in the requirements.txt file (these apparently need to get moved to somewhere else)
  • It doesn't handle the dependency on phantomJS (though there's apparently a new python project for this.
  • In the readme I don't know how to explain installation to developers vs. users (is there a distinction?)
  • I haven't figured out how to push it to pypi so it's available everywhere

Needs a bit more research, but I suspect for the right person, this would be a breeze.

This is the reference I've been using: https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/

from juriscraper.

mlissner avatar mlissner commented on August 22, 2024

I guess another thing to take care of here is that Travis is now broken for this branch. That should be easy though. Just a matter of backing out the weird stuff we're already doing...

from juriscraper.

voutilad avatar voutilad commented on August 22, 2024

Got an itch to dig into this, mostly to make the freelawmachine simpler.

from juriscraper.

mlissner avatar mlissner commented on August 22, 2024

You know, @m4h7 was doing some work on this, but I could never satisfy myself that it was ready, and I think I dropped the ball on taking it the last mile.

I wonder if it might be worth it to try to do the seal rookery and/or judge-pics first? It can't be that hard, but then, there's a TON of voodoo around it that really got me frustrated.

from juriscraper.

voutilad avatar voutilad commented on August 22, 2024

Closer. Got a package in PyPI. Seems there are some minor issues surfacing related to how parts of the module are exposed and how some things like logging works (See issue #128).

So right now a pip install juriscraper appears to work on the surface. Still testing.

from juriscraper.

mlissner avatar mlissner commented on August 22, 2024

This is done!

from juriscraper.

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.