Giter Club home page Giter Club logo

make-venv's Introduction

make_venv

venv(Python仮想環境)を構築するスクリプト。

近年、Pythonのパッケージ管理ライブラリには poetry や pyflow などがあるが、それらはまだ発展途上に感じる。 その背景を踏まえ、個人的に venv + requirements.txt をしばらく使いたかったので make_venv を作成した。

機能

  • venv を再生成

  • requirements.txt のパッケージをインストール

使い方(Linux)

  1. Python3 を導入する

  2. make_venv.sh をダウンロードし、Pythonプロジェクトディレクトリへ格納

    wget https://raw.githubusercontent.com/gsuke/make-venv/main/make_venv.sh
  3. (必要に応じてSettingsを変更)

  4. requirements.txt を作成し、必要なライブラリを入力

  5. ./make_venv.sh を実行

使い方(Windows)

  1. 以下の実行環境を導入する

  2. make_venv.ps1 をダウンロードし、Pythonプロジェクトディレクトリへ格納

    Invoke-WebRequest https://raw.githubusercontent.com/gsuke/make-venv/main/make_venv.ps1 -OutFile make_venv.ps1
  3. (必要に応じてSettingsを変更)

  4. requirements.txt を作成し、必要なライブラリを入力

  5. PowerShellで .\make_venv.ps1 を実行

環境

以下の環境で動作確認済み。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.