This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def range_filter(n, others): | |
for i in range(n): | |
if i not in others: | |
yield i | |
def m_sets(n, m, others): | |
m -= 1 | |
for i in range_filter(n, others): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import shutil | |
import subprocess | |
def build(source_path, build_path, install_path, targets, build_args=None): | |
""" | |
Generic Rez Build script for python packages that use the standard | |
python distribution tools (i.e. setuptools, setup.py). |