Skip to content

Commit

Permalink
Merge pull request #353 from UKPythonAssociation/feature/Pipfile
Browse files Browse the repository at this point in the history
Use Pipenv instead of requirements.txt
  • Loading branch information
meatballs committed Sep 24, 2023
2 parents 782148c + 253b4b6 commit cb25efc
Show file tree
Hide file tree
Showing 4 changed files with 344 additions and 28 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: 3.11
cache: "pipenv"
- name: Install Pipenv
run: |
curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pipenv install
- name: Build
run: |
make html dirhtml
pipenv run make html dirhtml
13 changes: 13 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
sphinx = "==6.1.3"
sphinx-rtd-theme = "==1.2.0"

[dev-packages]

[requires]
python_version = "3.11"
325 changes: 325 additions & 0 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cb25efc

Please sign in to comment.