Skip to content

Commit ddae67d

Browse files
committed
* Disable scheduled wheel tests on legacy toast2 branch.
* Add files for toast-cmb legacy wrapper package on PyPI. This package simply depends on the new toast package.
1 parent 1d06a47 commit ddae67d

File tree

4 files changed

+48
-3
lines changed

4 files changed

+48
-3
lines changed

.github/workflows/wheels.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ name: Test Binary Wheels
99
# branches: [ master ]
1010

1111
# Uncomment here for production and comment out push / PR above.
12-
on:
13-
schedule:
14-
- cron: '0 4 * * *'
12+
# on:
13+
# schedule:
14+
# - cron: '0 4 * * *'
1515

1616
jobs:
1717
sdist:

alias/build.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
python3 setup.py sdist
4+
python3 setup.py bdist_wheel
5+

alias/setup.py

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# This setup.py is for building a legacy toast-cmb package on PyPI.
2+
3+
import os
4+
import sys
5+
6+
from setuptools import setup
7+
8+
9+
conf = dict()
10+
conf["name"] = "toast-cmb"
11+
conf["description"] = "ALIAS to Time Ordered Astrophysics Scalable Tools"
12+
conf["long_description"] = "This package is a deprecated alias. Use https://pypi.org/project/toast instead."
13+
conf["long_description_content_type"] = "text/markdown"
14+
conf["author"] = "Theodore Kisner, Reijo Keskitalo"
15+
conf["author_email"] = "[email protected]"
16+
conf["license"] = "BSD"
17+
conf["url"] = "https://github.com/hpc4cmb/toast"
18+
conf["version"] = "2.3.14"
19+
conf["python_requires"] = ">=3.7.0"
20+
conf["setup_requires"] = (["wheel"],)
21+
conf["install_requires"] = ["toast",]
22+
conf["platforms"] = "all"
23+
conf["zip_safe"] = False
24+
conf["classifiers"] = [
25+
"Development Status :: 5 - Production/Stable",
26+
"Environment :: Console",
27+
"Intended Audience :: Science/Research",
28+
"License :: OSI Approved :: BSD License",
29+
"Operating System :: POSIX",
30+
"Programming Language :: Python :: 3.7",
31+
"Programming Language :: Python :: 3.8",
32+
"Programming Language :: Python :: 3.9",
33+
"Topic :: Scientific/Engineering :: Astronomy",
34+
]
35+
36+
setup(**conf)

alias/upload.sh

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
twine upload dist/toast*
4+

0 commit comments

Comments
 (0)