Skip to content

Commit

Permalink
Installation from git directly. (#319)
Browse files Browse the repository at this point in the history
* Update setup.py

added url to setup.py for PyPI Server test.

* Update setup.py

* Update setup.py

* Update setup.py

Updated the url to be the public repo

* Update README.md
  • Loading branch information
ioeddk authored Jul 31, 2024
1 parent ab49a6e commit 8da35e0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ You may also alternatively install our library from source via:
```bash
python setup.py install
```
in the repository, or using

```
pip install git+https://github.com/mit-han-lab/torchsparse.git
```
without the need to clone the repository.

## Benchmarks

Expand Down
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,19 @@
"torchsparse.backend", sources, extra_compile_args=extra_compile_args
)
],
url="https://github.com/mit-han-lab/torchsparse",
install_requires=[
"numpy",
"backports.cached_property",
"tqdm",
"typing-extensions",
"wheel",
"rootpath",
"torch",
"torchvision"
],
dependency_links=[
'https://download.pytorch.org/whl/cu118'
],
cmdclass={"build_ext": BuildExtension},
zip_safe=False,
Expand Down

0 comments on commit 8da35e0

Please sign in to comment.