Skip to content

Commit

Permalink
DAS-2165 - Improve README.md with conda instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
owenlittlejohns authored Jul 2, 2024
1 parent f49902a commit 606b292
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,16 +183,30 @@ also contains an update to the `VERSION` file.

Prerequisites:

- Python 3.7+, ideally installed in a virtual environment, such as `pyenv` or
- Python 3.9+, ideally installed in a virtual environment, such as `pyenv` or
`conda`.
- A local copy of this repository.

Set up conda virtual environment:

```bash
conda create --name earthdata-varinfo python=3.11 --channel conda-forge \
--channel defaults -y
conda activate earthdata-varinfo
```

Install dependencies:

```bash
$ make develop
```

or

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

Run a linter against package code (preferably do this prior to submitting code
for a PR review):

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def get_semantic_version(current_directory: str) -> str:
install_requires=parse_dependencies('requirements.txt'),
extras_require={'dev': parse_dependencies('dev-requirements.txt')},
test_suite='tests',
python_requires='>=3.7',
python_requires='>=3.9',
license='License :: OSI Approved :: Apache Software License',
classifiers=[
'Programming Language :: Python',
Expand Down

0 comments on commit 606b292

Please sign in to comment.