Skip to content

Commit

Permalink
v0.12.1b2: back to requirements.txt (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzaffi authored May 3, 2022
1 parent 9b4e72f commit 7d9f63e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
upload-to-pypi:
runs-on: ubuntu-20.04
container: python:3.10
needs: ['build-test']
needs: ['build-test', 'run-integration-tests', 'build-docset']
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }}
steps:
- name: Check out code
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# ---- Setup ---- #

setup-development:
pip install -e .[development]
pip install -e .
pip install -r requirements.txt

setup-docs: setup-development
pip install -r docs/requirements.txt
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ Pip install PyTeal in editable state with dependencies:

* `make setup-development`
* OR if you don't have `make` installed:
* `pip install -e.[development]`
* Note, that if you're using `zsh` you'll need to escape the brackets: `pip install -e.\[development\]`
* `pip install -e . && pip install -r requirements.txt`

Format code:

Expand Down
9 changes: 9 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
black==22.3.0
flake8==4.0.1
flake8-tidy-imports==4.6.0
graviton@git+https://github.com/algorand/[email protected]
mypy==0.950
pytest==7.1.1
pytest-cov==3.0.0
pytest-timeout==2.1.0
pytest-xdist==2.5.0
15 changes: 1 addition & 14 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setuptools.setup(
name="pyteal",
version="0.12.1b1",
version="0.12.1b2",
author="Algorand",
author_email="[email protected]",
description="Algorand Smart Contracts in Python",
Expand All @@ -16,19 +16,6 @@
url="https://github.com/algorand/pyteal",
packages=setuptools.find_packages(),
install_requires=["py-algorand-sdk"],
extras_require={
"development": [
"black==22.3.0",
"flake8==4.0.1",
"flake8-tidy-imports==4.6.0",
"graviton@git+https://github.com/algorand/graviton@5549e6227a819b9f6d346f407aed32f4976ec0b2",
"mypy==0.950",
"pytest==7.1.1",
"pytest-cov==3.0.0",
"pytest-timeout==2.1.0",
"pytest-xdist==2.5.0",
],
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
Expand Down

0 comments on commit 7d9f63e

Please sign in to comment.