Skip to content

Commit

Permalink
Python version upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
maksim committed Dec 18, 2023
1 parent f4c5408 commit 86df35d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 40 deletions.
21 changes: 4 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div align="center", style="font-size: 50px">

[![Build Status](https://github.com/lanl/pyCP_APR/actions/workflows/ci_tests.yml/badge.svg?branch=main)](https://github.com/lanl/pyCP_APR/actions/workflows/ci_tests.yml/badge.svg?branch=main) [![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg) [![Python Version](https://img.shields.io/badge/python-v3.8.5-blue)](https://img.shields.io/badge/python-v3.8.5-blue) [![DOI](https://img.shields.io/badge/DOI-10.5281%2Fzenodo.4840598-blue.svg)](https://doi.org/10.5281/zenodo.4840598)
[![Build Status](https://github.com/lanl/pyCP_APR/actions/workflows/ci_tests.yml/badge.svg?branch=main)](https://github.com/lanl/pyCP_APR/actions/workflows/ci_tests.yml/badge.svg?branch=main) [![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg) [![Python Version](https://img.shields.io/badge/python-v3.9-blue)](https://img.shields.io/badge/python-v3.8.5-blue) [![DOI](https://img.shields.io/badge/DOI-10.5281%2Fzenodo.4840598-blue.svg)](https://doi.org/10.5281/zenodo.4840598)

</div>

Expand Down Expand Up @@ -33,25 +33,12 @@ pip install git+https://github.com/lanl/pyCP_APR.git
```shell
git clone https://github.com/lanl/pyCP_APR.git
cd pyCP_APR
conda create --name pyCP_APR python=3.8.5
conda create --name pyCP_APR python=3.9
source activate pyCP_APR
python setup.py install
pip install -e . # or <python setup.py install>
```

## Prerequisites
- [Anaconda](https://docs.anaconda.com/anaconda/install/)(Optional)
- numpy>=1.19.2
- numpy-indexed>=0.3.5
- pandas>=1.0.5
- matplotlib>=3.3.4
- joblib>=1.0.1
- scikit-learn>=0.22.2
- scipy>=1.5.3
- seaborn>=0.11.1
- torch>=1.6.0
- requests>=2.25.1
- tqdm>=4.62.3
- sparse>=0.13.0
#### Jupyter Setup Tutorial for using the examples ([Link](https://www.maksimeren.com/post/conda-and-jupyter-setup-for-research/))

## Example Usage
```python
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
copyright = '2021, LANL'
author = 'Maksim E. Eren, Juston S. Moore, Erik Skau, Manish Bhattarai, Gopinath Chennupati, Boian S. Alexandrov'
# The full version, including alpha/beta/rc tags
release = '1.0.1'
release = '1.0.2'


# -- General configuration ---------------------------------------------------
Expand Down
22 changes: 4 additions & 18 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,12 @@ Installation
git clone https://github.com/lanl/pyCP_APR.git
cd pyCP_APR
conda create --name pyCP_APR python=3.8.5
conda create --name pyCP_APR python=3.9
source activate pyCP_APR
python setup.py install
pip install -e . # or <python setup.py install>
Prerequisites
========================================
* `Anaconda <https://docs.anaconda.com/anaconda/install/>`_ (Optional)
* numpy>=1.19.2
* numpy-indexed>=0.3.5
* pandas>=1.0.5
* matplotlib>=3.3.4
* joblib>=1.0.1
* scikit-learn>=0.22.2
* scipy>=1.5.3
* seaborn>=0.11.1
* torch>=1.6.0
* requests>=2.25.1
* tqdm>=4.62.3
* sparse>=0.13.0
**Optional Tutorial for Examples:**
Jupyter Setup Tutorial for using the examples (`Link <https://www.maksimeren.com/post/conda-and-jupyter-setup-for-research/>`_)

Example Usage
========================================
Expand Down
2 changes: 1 addition & 1 deletion pyCP_APR/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""pyCP_APR version."""
__version__ = '1.0.1'
__version__ = '1.0.2'
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"""
from setuptools import setup, find_packages
from glob import glob
__version__ = "1.0.1"
__version__ = "1.0.2"

# add readme
with open('README.md', 'r') as f:
Expand Down Expand Up @@ -40,10 +40,10 @@
packages=find_packages(),
classifiers=[
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 3.8.5',
'Programming Language :: Python :: 3.9',
'Topic :: Software Development :: Libraries'
],
python_requires='>=3.8.5',
python_requires='>=3.9',
install_requires=INSTALL_REQUIRES,
license='License :: BSD3 License',
)

0 comments on commit 86df35d

Please sign in to comment.