Skip to content

Commit 75d4be5

Browse files
authored
Merge pull request #21 from OpenProteinAI/develop
Develop
2 parents 1f3ca5d + bb37a80 commit 75d4be5

File tree

7 files changed

+21
-11
lines changed

7 files changed

+21
-11
lines changed

.github/workflows/s3.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v1
1414

15+
- name: Install Pandoc
16+
run: |
17+
sudo apt-get update
18+
sudo apt-get install -y pandoc
19+
1520
- name: Set up Python
1621
uses: actions/setup-python@v2
1722
with:
@@ -20,13 +25,13 @@ jobs:
2025
- name: Install Sphinx
2126
run: |
2227
python -m pip install --upgrade pip
23-
pip install sphinx recommonmark sphinx_markdown_tables sphinx_markdown_builder nbsphinx sphinx-rtd-theme pandoc
28+
pip install sphinx recommonmark sphinx_markdown_tables sphinx_markdown_builder nbsphinx sphinx-rtd-theme pandas requests tqdm pydantic
2429
2530
- name: Build HTML with Sphinx
2631
run: |
2732
cd apidocs
2833
make html
29-
34+
3035
- name: Get bucket name
3136
shell: bash
3237
run: |
@@ -65,7 +70,7 @@ jobs:
6570
AWS_S3_BUCKET: ${{ steps.bucket_name.outputs.bucket }}
6671
shell: bash
6772
run: |
68-
aws s3 sync apidocs/_build/html s3://${AWS_S3_BUCKET}/apidocs/
73+
aws s3 sync apidocs/build/html s3://${AWS_S3_BUCKET}/apidocs/
6974
7075
- name: Invalidate CloudFront cache
7176
env:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[![PyPI version](https://badge.fury.io/py/openprotein-python.svg)](https://pypi.org/project/openprotein-python/)
2-
[![Coverage](./apidocs/source/coverage.svg)](https://pypi.org/project/openprotein-python/)
2+
[![Coverage](https://dev.docs.openprotein.ai/api-python/_images/coverage.svg)](https://pypi.org/project/openprotein-python/)
33

44
# openprotein-python
55
Python interface for the OpenProtein.AI REST API.
@@ -9,7 +9,7 @@ Python interface for the OpenProtein.AI REST API.
99
You can install with pip:
1010

1111
```
12-
pip install openprotein
12+
pip install openprotein-python
1313
```
1414
## Getting started
1515

-3.55 KB
Binary file not shown.

apidocs/build/html/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apidocs/source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88

99
import os
1010
import sys
11-
sys.path.insert(0, os.path.abspath('../..'))
11+
sys.path.insert(0, os.path.abspath('../../'))
12+
print("HERE", sys.path)
1213

1314

1415
project = 'OpenProtein-Python'

openprotein/_version.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
try:
22
from importlib.metadata import version
3-
except ImportError:
4-
from importlib_metadata import version # py 3.7
3+
except ModuleNotFoundError:
4+
from importlib_metadata import version # py37
5+
6+
try:
7+
__version__ = version("openprotein-python")
8+
except:
9+
__version__ = "None"
510

6-
__version__ = version("openprotein-python")

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tool.poetry]
22
name = "openprotein_python"
33
packages = [{include = "openprotein"}]
4-
version = "0.1.1b11"
4+
version = "0.1.1b17"
55
description = "OpenProtein Python interface."
66
license = "MIT"
77
readme = "README.md"

0 commit comments

Comments
 (0)