Giter VIP home page Giter VIP logo

pyalembic-windows-buildscript's Introduction

PyAlembic Build Script for Windows

This script builds Alembic and its Python bindings for Windows.

Prerequisites

To use this script, you need to have the following software installed on your Windows machine:

  • Visual Studio (MSVC)
  • CMake
  • Python3
  • Git

Build

To build PyAlembic, follow these steps:

  1. Clone this repository to your local machine.

  2. Open a PowerShell terminal and navigate to the repository folder.

  3. Run the build.ps1 script with the -PythonRoot option, specifying the path to your Python installation. For example:

    PS C:\builds\pyalembic-windows-buildscript> .\build.ps1 -PythonRoot "$env:USERPROFILE\.pyenv\pyenv-win\versions\3.10.8" | Tee-Object build.log

A .whl file will be output to the dist directory.

Usage

To use PyAlembic module in your Python scripts, import the alembic module. For example:

import alembic

# Print a version
print(alembic.Abc.GetLibraryVersion())

# Create an .abc file
arch = alembic.Abc.OArchive("hoge.abc")
assert os.path.exists("hoge.abc")

For more information on how to use PyAlembic, please refer to the official documentation.

License

This project is licensed under the CC0 license.

pyalembic-windows-buildscript's People

Contributors

ugai avatar xtvjxk123456 avatar

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.