Skip to main content

Lib for quick formatting setup.py in projects. Moved from vstutils projects for easyer integration.

Quick start

  1. Install package via pip install vstcompile

  2. Create requirements.txt and setup.py in your project:

    import os
    from vstcompile import load_requirements, make_setup, find_packages
    
    
    # allow setup.py to be run from any path
    os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
    
    ext_list = [
      ... some extentions import paths with `*.py, *.c or *.pyx` extentions ...
    ]
    
    make_setup(
      packages=find_packages(exclude=['tests']+ext_list),
      ext_modules_list=ext_list,
      include_package_data=True,
      install_requires=load_requirements('requirements.txt')
    )
  3. Run python setup.py compile to compile and pack dist-package.

  4. Add requirement to pyproject.toml and enjoy!

Requirements

If you want to use Sphinx in projects, you should install package with sphinx packages.

If you want to use github release, install it with extra release and use command githubrelease:

pip install vstcompile[release]
python setup.py githubrelease

License

VST Compile is licensed under the terms of the Apache License 2.0. See the file “LICENSE” for more information.

Copyright 2018-2023 VST Consulting

Release files for vstcompile 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vstcompile 3.0.0
File Size Uploaded
vstcompile-3.0.0.tar.gz 11.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vstcompile 3.0.0
File Interpreter ABI Platform
vstcompile-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.7 kB

Release files / vstcompile-3.0.0.tar.gz

Download URL vstcompile-3.0.0.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8c7e0247377c8e7ec007dc17fa4b44b33b0b14dac7bdf0b4a1e8f5157748f198
BLAKE2b-256 checksum
How to use checksums
364fbf94a92c6f50fb7e4a2376fe547a4e6ba36d1b77ede28adc0d1948946be1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.18

Release files / vstcompile-3.0.0-py3-none-any.whl

Download URL vstcompile-3.0.0-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79b497ea1e11b59f7e949baeb582cf4d03d2d57534273d17afd4a774e0bf7437
BLAKE2b-256 checksum
How to use checksums
506f57cba42f753c04689784397f195062248bf7234dacacf68d2219357b7b4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.18

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 release files

2.0.0

2 release files

1.0.8

1 release file

1.0.7

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.2

1 release file

1.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page