Utilities for Buildout developed for Up There They Love.
Project description
uttl.buildout
Utilities for zc.buildout for different build systems on Windows, as used by Up There They Love for developing their titles.
Usage
The uttl.buildout package will be automatically installed from PyPi when you use it in your Buildout configuration.
You can also clone the repository to disk and use the recipes directly without installing a package:
[buildout]
develop = C:\Downloads\uttl-buildout
The downside of this approach is that your configuration will be invalidated (and thus your dependencies rebuilt) when the recipes change.
Example
[buildout]
parts =
visual-studio
game
# find installation for visual studio 2017
[visual-studio]
recipe = uttl.buildout:vswhere
version = 2017
# build game executable
[game]
recipe = uttl.buildout:devenv
executable = ${visual-studio:product-path}
solution = SSSG.sln
project = SSSG
build = Release
Recipes
The following recipes (scripts) for zc.buildout are available in this package:
- uttl.buildout.cmake - Run CMake commands
- uttl.buildout.command - Run an executable with arguments
- uttl.buildout.copyfile - Copy files between directories
- uttl.buildout.devenv - Build projects with Visual Studio
- uttl.buildout.dotnet-restore - Restore .NET packages using NuGet
- uttl.buildout.inklecate - Compile .ink files to JSON
- uttl.buildout.qmake - Run QMake commands
- uttl.buildout.qtdeploy - Deploy Qt libraries
- uttl.buildout.versioncheck - Get versioned executables
- uttl.buildout.vswhere - Get Visual Studio installation paths
Check the source folders for detailed documentation about each recipe.
Testing the package locally
Check that you're running at least Python 3.9:
D:\Projects\uttl-buildout>python --version
Python 3.9.5
Build and install egg on system:
python setup.py install
Uploading new package
Create egg in dist/ folder:
python setup.py bdist_egg
Upload packaged egg to repository:
python -m twine upload --repository pypi dist/*
Changes
1.3.1 - 2022-01-15
- VersionCheck: Fix bug where minor version was not checked correctly
1.3.0 - 2021-10-04
- VsWhere: New recipe for retrieving Visual Studio installation paths
1.2.4 - 2021-09-30
- CMake: Fix issue with
configure-dirnot working if the path does not exist yet
1.2.3 - 2021-09-30
- Added missing package initialization for
uttl.buildout.dotnet.restorefolder
1.2.2 - 2021-09-30
- Small fix to README in package
1.2.1 - 2021-09-30
- Command: Added missing
always-installoption to documentation - Command: Added
working-diroption - CopyFile: Renamed
source-path,destination-pathto-dir(old names treated as synonymous) - CMake: Renamed
source-path,install-path,configure-path, andbuild-pathto-dir(old names treated as synonymous) - CMake: Added
working-diroption - DotnetRestore: Fixed recipe being registered with the wrong name
- DotnetRestore: Renamed
config-filetoconfig-path(old name treated as synonymous) - DotnetRestore: Renamed
packages-pathtopackages-dir(old name treated as synonymous) - DotnetRestore: Added
working-diroption - Devenv: Renamed
solutiontosolution-path(old name treated as synonymous) - Devenv: Added
working-diroption - Inklecate: Renamed
output-directorytooutput-dir(old name treated as synonymous) - Inklecate: Renamed
inputtoinputs(old name treated as synonymous) - Inklecate: Added
working-diroption - QMake: Added
working-diroption - QtDeploy: Added
dir,libraries-dir,plugins-dir,libraries,qml-dir,qml-import,plugins, andpatch-qtoptions - QtDeploy: Added
lib-option to explicity add or skip libaries - QtDeploy: Added
working-diroption - VersionCheck: Made
bodyoption mandatory
1.2.0 - 2021-09-28
- All: Added optional artefacts and arguments options
- CMake: Made the path to source option mandatory to prevent user error
- Command: New recipe for calling executables
- CopyFile: Install files before copying them
1.1.0 - 2021-09-27
- All: Changed all options from snake_case to kebab-case
- DotnetRestore: New recipe for invoking dotnet commands
- CMake: Fixed source path option
- CMake: Made target option a synonym for targets
- CopyFile: Copies files if they do not exist or if they were modified
- CopyFile: Added documentation
- Devenv: Cleaned up script
- Devenv: Added documentation
- QMake: Fixed files option throwing an error
- QMake: Expanded documentation
- QMake: Fixed typos in documentation
1.0.0 - 2021-09-26
- Initial release
License
MIT No Attribution
Copyright 2021 Mr. Hands mrhands31@gmail.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file uttl.buildout-1.3.1-py3.10.egg.
File metadata
- Download URL: uttl.buildout-1.3.1-py3.10.egg
- Upload date:
- Size: 45.4 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
281ac817dcbe34c404779d1e7bd366f79ba7af4b62cde269024edcdf1ee8f0e6
|
|
| MD5 |
57e6f8392b1e7c5748be5117798f6c51
|
|
| BLAKE2b-256 |
89cca2bd1629326bc3e34c2407dec0f24ff48a820996e6409b9ad0642992ac44
|
File details
Details for the file uttl.buildout-1.3.1-py3.9.egg.
File metadata
- Download URL: uttl.buildout-1.3.1-py3.9.egg
- Upload date:
- Size: 45.3 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c79354a2c9b580e4a3e7e2d2166eefc3a71e95c8f0af006f564ce77c356ad5fa
|
|
| MD5 |
eb2da66a7bf19c01c78ee50fcbe54074
|
|
| BLAKE2b-256 |
4f18d8b93caae1bd760090c186a22fa2782b5a492ea22bc35edb331a5995e75c
|