Skip to content

Commit

Permalink
moved config folder into code for pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
arnauqb committed Jun 15, 2023
1 parent 5081703 commit 8dd52d0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 16 deletions.
17 changes: 2 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,10 @@ Implementation of the JUNE model using the GradABM framework.

# Setup

Install requirements
The easiest way is to install the package from the PyPI package repository

```bash
pip install -r requirements.txt
```

and install PyTorch geometric, manually for now:

```bash
pip install torch-scatter torch-sparse torch-cluster torch-geometric -f https://data.pyg.org/whl/torch-1.13.0+cpu.html
```

Then install the GradABM-JUNE package

```bash
pip install -e .
```
pip install
# Usage
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion grad_june/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
grad_june_path = Path(os.path.abspath(__file__)).parent.parent

default_config_path = (
Path(os.path.abspath(__file__)).parent.parent / "configs/default.yaml"
Path(os.path.abspath(__file__)).parent / "configs/default.yaml"
)
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from os.path import abspath, dirname, join

this_dir = abspath(dirname(__file__))

with open(join(this_dir, "LICENSE")) as f:
license = f.read()

Expand Down

0 comments on commit 8dd52d0

Please sign in to comment.