Commit Graph

25 Commits

Author SHA1 Message Date
rdb f3c481578e samples: Update globalClock references to base.clock 2021-12-25 11:49:04 +01:00
rdb fc625eec11 Merge branch 'release/1.10.x' into incoming 2021-12-12 22:54:15 +01:00
rdb ec2084c23e samples: Use SamplerState::WM_clamp as wrap mode in Asteroids demo
[skip ci]
2021-12-12 13:42:33 +01:00
Daniel Stokes 0a8e401f3a Lint asteroids sample 2021-05-02 23:02:56 +02:00
rdb 0d5d6466f1 Remove references to obsolete index from requirements.txt 2019-01-05 20:53:11 +01:00
rdb 8a9cac8c49 deploy-ng: use proper patch matching for globs 2018-12-09 21:24:51 +01:00
Mitchell Stokes 09bbee8dea deploy-ng: Default platforms to a list of platforms instead of the host platform
The list is:
  * manylinux1_x86_64
  * macosx_10_6_x86_64
  * win_amd64

Of note, win32 is missing from this list. We can add it later if there
is desire.

Also of note, there is now no path to *not* using wheels. We will need
to evaluate if we want to keep this around and, if so, expose it as an
option to users.
2018-12-08 16:19:35 -08:00
rdb 742c143a01 deploy-ng: support logging via log_filename (and log_append) setting 2018-04-08 17:57:48 +02:00
Mitchell Stokes d613523f14 deploy-ng: Add tests/build_samples.py script
This script will run python setup.py bdist_apps on each sample in a list
(currently only contains asteroids). The script will fail if any of the
builds fail. We can use this for some automated sanitity checking of
deploy-ng builds.
2018-03-22 18:53:26 -07:00
Mitchell Stokes fcacc3c2be deploy-ng: librt.so.1 to libutil.so.1 to exclude_dependencies 2018-02-27 18:37:03 -08:00
Mitchell Stokes 905b15df01 deploy-ng: Rename some options
* include_paths -> include_patterns
  * exclude_paths -> exclude_patterns
  * deploy_platforms -> platforms
2017-11-26 15:33:00 -08:00
Mitchell Stokes ffdac54a0b deploy-ng: Switch copy_paths to include_paths and rename_paths 2017-11-22 18:44:07 -08:00
Mitchell Stokes 09eb22b61e deploy-ng: Add plugins option to specify which plugins to copy
NOTE: pandagl is no longer automatically copied and a graphics plugin
must be specified.

TODO: Per-platform overrides
2017-07-06 19:33:16 -07:00
Mitchell Stokes c1f0545359 deploy-ng sample: Use buildbot index instead of a wheels folder 2017-04-20 17:58:01 -07:00
Mitchell Stokes 9e9aebad58 deploy-ng asteroid sample: Add --pre to requirements.txt
This forces pip to prefer 1.10 builds even if it finds 1.9 builds (e.g., for Python2)
2017-04-11 20:15:42 -07:00
Mitchell Stokes dcb743c30d deploy-ng: Combine build_apps files and directories options into a single copy_paths
copy_paths is a list of strings and two item sequences. If a copy_paths
element is a single string, it is treated as both the source and
destination paths. If the element is a sequence, the first element is
the source and the second is the destination.

NOTE: exclude_paths now uses file globs
TODO: Support globs for copy_paths
2017-02-11 18:48:56 -08:00
Mitchell Stokes 66ef8f7c2a deploy-ng: Rename build_p3d to build_apps and bdist_p3d_archive to bdist_apps 2017-02-11 16:04:48 -08:00
Mitchell Stokes b8ee352ebb deploy-ng: Create entry_points in makewheel for dist commands
This allows setuptools to automatically find build_p3d and
bdist_p3d_archive.

NOTE: Importing direct.showutil.dist.setup still works for installs that
are not using wheels.
2017-01-28 21:09:33 -08:00
Mitchell Stokes 9723cb62d9 deploy-ng: Split applications list into gui_apps and console_apps dictionaries
The keys to these new dictionaries are the name of the application to
create and the value is the script that is the entry point for the
application. This gets rid of the need for an Application class.
2017-01-28 21:09:33 -08:00
Mitchell Stokes 159a1aa948 deploy-ng: Rename dist.build to dist.build_p3d and stop subclassing the builtin build Command
This also removes the need for a custom Distribution class.
2017-01-28 21:09:33 -08:00
Mitchell Stokes de598d966b asteroid sample: Add requirements.txt and wheels to setup.py exclude_paths 2017-01-05 19:28:22 -08:00
Mitchell Stokes c51afaf0cf deploy-ng: Support getting whl files via pip
The samples/asteriods/wheels directory and requirements.txt work-around
can be removed when we can grab py3 whls from PyPI.
2017-01-04 19:02:27 -08:00
Mitchell Stokes ca036a56f2 deploy-ng: Add setup.py to the asteroids sample 2016-12-18 11:46:21 -08:00
rdb de0b0dd879 Fix various issues with Python 3 support, fix samples to work with Python 3 2015-03-23 00:32:47 +01:00
rdb 78c3593d2c Add sample programs to the repository 2015-03-14 15:01:31 +01:00