{"id":20374783,"url":"https://github.com/gsuke/make-venv","last_synced_at":"2026-04-22T03:33:57.881Z","repository":{"id":184799428,"uuid":"408100295","full_name":"gsuke/make-venv","owner":"gsuke","description":"Script to create .venv of Python","archived":false,"fork":false,"pushed_at":"2022-02-01T15:17:51.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-09T15:22:46.259Z","etag":null,"topics":["powershell","shell-script","venv-python"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gsuke.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-19T10:48:22.000Z","updated_at":"2022-05-30T10:47:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"40e58c93-67d9-442b-bf87-a6c85e96d1e4","html_url":"https://github.com/gsuke/make-venv","commit_stats":null,"previous_names":["gsuke/make-venv"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gsuke/make-venv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsuke%2Fmake-venv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsuke%2Fmake-venv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsuke%2Fmake-venv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsuke%2Fmake-venv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gsuke","download_url":"https://codeload.github.com/gsuke/make-venv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsuke%2Fmake-venv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32119993,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["powershell","shell-script","venv-python"],"created_at":"2024-11-15T01:26:53.582Z","updated_at":"2026-04-22T03:33:57.854Z","avatar_url":"https://github.com/gsuke.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"= make_venv\n\nvenv(Python仮想環境)を構築するスクリプト。\n\n近年、Pythonのパッケージ管理ライブラリには poetry や pyflow などがあるが、それらはまだ発展途上に感じる。\nその背景を踏まえ、個人的に venv + requirements.txt をしばらく使いたかったので make_venv を作成した。\n\n== 機能\n* venv を再生成\n* requirements.txt のパッケージをインストール\n\n== 使い方(Linux)\n\n. Python3 を導入する\n\n. link:make_venv.sh?raw=true[make_venv.sh] をダウンロードし、Pythonプロジェクトディレクトリへ格納\n+\n[source, shell]\n----\nwget https://raw.githubusercontent.com/gsuke/make-venv/main/make_venv.sh\n----\n\n. (必要に応じてSettingsを変更)\n\n. requirements.txt を作成し、必要なライブラリを入力\n\n. `./make_venv.sh` を実行\n\n== 使い方(Windows)\n\n. 以下の実行環境を導入する\n\n* https://www.python.org/[Python]\n\n* PowerShell (7.2～)\n.. https://www.microsoft.com/ja-jp/p/powershell/9mz1snwt0n5d よりインストールする\n.. Powershellの初回起動時は以下のコマンドを叩き、実行ポリシーを変更する。\n+\n[source, powershell]\n----\nSet-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser\n----\n\n. link:make_venv.ps1?raw=true[make_venv.ps1] をダウンロードし、Pythonプロジェクトディレクトリへ格納\n+\n[source, powershell]\n----\nInvoke-WebRequest https://raw.githubusercontent.com/gsuke/make-venv/main/make_venv.ps1 -OutFile make_venv.ps1\n----\n\n. (必要に応じてSettingsを変更)\n\n. requirements.txt を作成し、必要なライブラリを入力\n\n. PowerShellで `.\\make_venv.ps1` を実行\n\n== 環境\n\n以下の環境で動作確認済み。\n\n* Windows 10\n* Debian 11 (link:test/docker-compose.yml[docker-compose.yml] 参照)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsuke%2Fmake-venv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgsuke%2Fmake-venv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsuke%2Fmake-venv/lists"}