Skip to content

Make pip-installable#3

Open
cthoyt wants to merge 6 commits intosnap-stanford:mainfrom
cthoyt-forks-and-packages:package
Open

Make pip-installable#3
cthoyt wants to merge 6 commits intosnap-stanford:mainfrom
cthoyt-forks-and-packages:package

Conversation

@cthoyt
Copy link

@cthoyt cthoyt commented Dec 23, 2020

This PR does the following:

  1. Reorganizes code into the src/ layout. I've given the name of the package kgreasoning, but you can change this to whatever you'd like
  2. Switch imports to use "absolute" imports for dataloader.py, util.py and models.py
  3. Adds setup configuration with setup.cfg and setup.py and add installation documentation to the README
  4. Reorganize the code in main.py so it can be installed as a vanity CLI script using python entrypoints. The README and example script are updated accordingly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant