Skip to content

Commit

Permalink
Fix install for autorest.python (#2996)
Browse files Browse the repository at this point in the history
* fix install for autorest.python

* changelog

* update version

* Fix pip install command for requirements
  • Loading branch information
msyyc authored Jan 8, 2025
1 parent 0b55911 commit a0b1535
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions packages/autorest.python/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Release

## 6.27.4

### Bug Fixes

- [771c357](https://github.com/Azure/autorest.python/commit/771c35756afc5c69928835aa01576200d43172b0) Fix install for autorest.python


## 6.27.3

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion packages/autorest.python/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@autorest/python",
"version": "6.27.3",
"version": "6.27.4",
"description": "The Python extension for generators in AutoRest.",
"scripts": {
"start": "node ./scripts/run-python3.js ./scripts/start.py",
Expand Down
1 change: 1 addition & 0 deletions packages/autorest.python/scripts/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def main():
venv_context = env_builder.context

python_run(venv_context, "pip", ["install", "-U", "pip"])
python_run(venv_context, "pip", ["install", "-r", f"{_ROOT_DIR}/requirements.txt"])
python_run(venv_context, "pip", ["install", "-e", f"{_ROOT_DIR}/generator"])


Expand Down

0 comments on commit a0b1535

Please sign in to comment.