Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

PR: Add setuptools setup file, add command to compile CUDA/C libraries and general package file refactoring #84

Open
wants to merge 27 commits into
base: master
Choose a base branch
from

Conversation

andfoy
Copy link

@andfoy andfoy commented Jun 13, 2018

Thanks for your great work and effort in porting Detectron to PyTorch!

This PR adds a compatible setuptools distributable setup file, this addition allows other reseachers/developers to embed Detectron in their applications without having to modify the PYTHON_PATH environment variable, instead, they just have to import the library using import detectron_pytorch.

It also adds a magic command to execute the make.sh script by invoking python setup.py build_static. Finally, it presents a new package structure.

I'm pending of any requests or additions this PR should have.

@andfoy
Copy link
Author

andfoy commented Jun 13, 2018

For instance, the main Detectron package has done the refactoring as well: facebookresearch/Detectron#414

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant