-
Notifications
You must be signed in to change notification settings - Fork 0
/
rever.xsh
35 lines (30 loc) · 1.42 KB
/
rever.xsh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
$PROJECT = $GITHUB_ORG = $GITHUB_REPO = 'pyne'
$ACTIVITIES = ['version_bump', 'changelog', 'nose', 'sphinx',
'tag', 'push_tag', 'conda_forge', 'ghpages', 'ghrelease'
]
$VERSION_BUMP_PATTERNS = [
('setup.py', "VERSION\s*=.*", "VERSION = '$VERSION'"),
('setup_sub.py', "VERSION\s*=.*", "VERSION = '$VERSION'"),
('pyne/__init__.py', "__version__\s*=.*", "__version__ = '$VERSION'"),
('src/utils.cpp', "std::string pyne::VERSION\s*=.*",
'std::string pyne::VERSION = "$VERSION";'),
]
$CHANGELOG_FILENAME = 'CHANGELOG.rst'
$CHANGELOG_LATEST = 'docs/previous/$VERSION-release-notes.rst'
$CHANGELOG_TEMPLATE = 'TEMPLATE.rst'
$DOCKER_APT_DEPS = ['libc6', 'libc6-i386', 'libc6-dev', 'libc-dev', 'gcc']
$DOCKER_CONDA_DEPS = ['cmake', 'pkg-config', 'setuptools', 'gcc',
'libgcc', 'libgfortran', 'make', 'scipy',
'python', 'blas', 'openblas', 'boost-cpp',
'hdf5', 'bzip2', 'xz', 'moab=4', 'cython', 'numpy', 'pytables',
'jinja2', 'nose', 'sphinx', 'numpydoc', 'cloud_sptheme',
'sphinxcontrib-bibtex', 'prettytable','nbconvert'
]
$DOCKER_INSTALL_COMMAND = ('rm -rf build && ./setup.py install --clean && '
'cd $HOME && nuc_data_make')
$DOCKER_GIT_NAME = 'pyne'
$DOCKER_GIT_EMAIL = '[email protected]'
$NOSE_ARGS = ['-w', 'tests']
$PUSH_TAG_REMOTE = '[email protected]:pyne/pyne.git'
$PUSH_TAG_TARGET = 'master'
$GHPAGES_REPO = '[email protected]:pyne/pyne.github.com.git'