Skip to content

Commit

Permalink
update project files
Browse files Browse the repository at this point in the history
  • Loading branch information
cahity committed Nov 23, 2024
1 parent 259dfd0 commit ab81c4e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 17 deletions.
16 changes: 3 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,11 @@ Visit our [**website**](https://vopy.readthedocs.io/en/latest/) to see tutorials

### Setup

For requirements, see [requirements.txt](requirements.txt) or [environment.yml](environment.yml).

Installation using pip:
```bash
pip install vopy
```

<!-- To setup a proper environment:
```setup
conda env create --name vo --file environment.yml
``` -->

#### Latest (Unstable) Version
To upgrade to the latest (unstable) version, run

Expand All @@ -46,11 +39,8 @@ If you are contributing a pull request, it is best to perform a manual installat
```sh
git clone https://github.com/Bilkent-CYBORG/VOPy.git
cd VOPy
pip install -e .[dev,docs,examples,test]
mamba env create --name vopy --file environment.yml # To setup a proper development environment
pip install -e .
```

<!--
### Run the example experiment as:
```bash
python main.py
``` -->
For requirements, see [requirements.txt](requirements.txt) or [environment.yml](environment.yml).
4 changes: 2 additions & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ dependencies:
- jupyter
- pytest
- pytest-cov
- bandit
- black
- flake8
- flake8-print
- pydocstyle
- black
- bandit
- pip:
- -r docs/requirements.txt
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ Homepage = "https://github.com/Bilkent-CYBORG/VOPy"
Documentation = "https://vopy.readthedocs.io/en/latest/"
Issues = "https://github.com/Bilkent-CYBORG/VOPy/issues"

[project.optional-dependencies]
dev = ["black", "flake8", "flake8-print"]
docs = ["pydocstyle", "sphinx_rtd_theme", "sphinx-notfound-page", "nbsphinx"]
examples = ["jupyter"]
test = ["pytest", "pytest-cov", "bandit"]

[build-system]
requires = ["setuptools>=64", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ numpy
jupyter
pytest
pytest-cov
bandit
black
flake8
flake8-print
pydocstyle
black
bandit

-r docs/requirements.txt

0 comments on commit ab81c4e

Please sign in to comment.