Skip to content

Commit

Permalink
* Disable scheduled wheel tests on legacy toast2 branch.
Browse files Browse the repository at this point in the history
* Add files for toast-cmb legacy wrapper package on PyPI.  This
  package simply depends on the new toast package.
  • Loading branch information
tskisner committed May 5, 2022
1 parent 1d06a47 commit ddae67d
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ name: Test Binary Wheels
# branches: [ master ]

# Uncomment here for production and comment out push / PR above.
on:
schedule:
- cron: '0 4 * * *'
# on:
# schedule:
# - cron: '0 4 * * *'

jobs:
sdist:
Expand Down
5 changes: 5 additions & 0 deletions alias/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

python3 setup.py sdist
python3 setup.py bdist_wheel

36 changes: 36 additions & 0 deletions alias/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This setup.py is for building a legacy toast-cmb package on PyPI.

import os
import sys

from setuptools import setup


conf = dict()
conf["name"] = "toast-cmb"
conf["description"] = "ALIAS to Time Ordered Astrophysics Scalable Tools"
conf["long_description"] = "This package is a deprecated alias. Use https://pypi.org/project/toast instead."
conf["long_description_content_type"] = "text/markdown"
conf["author"] = "Theodore Kisner, Reijo Keskitalo"
conf["author_email"] = "[email protected]"
conf["license"] = "BSD"
conf["url"] = "https://github.com/hpc4cmb/toast"
conf["version"] = "2.3.14"
conf["python_requires"] = ">=3.7.0"
conf["setup_requires"] = (["wheel"],)
conf["install_requires"] = ["toast",]
conf["platforms"] = "all"
conf["zip_safe"] = False
conf["classifiers"] = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering :: Astronomy",
]

setup(**conf)
4 changes: 4 additions & 0 deletions alias/upload.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

twine upload dist/toast*

0 comments on commit ddae67d

Please sign in to comment.