xonsh/rever.xsh

45 lines
1.5 KiB
Text
Raw Normal View History

2020-08-10 18:00:54 -05:00
from rever.activities.ghrelease import git_archive_asset
2017-11-22 18:11:52 -05:00
$PROJECT = $GITHUB_ORG = $GITHUB_REPO = 'xonsh'
$WEBSITE_URL = 'http://xon.sh'
2020-08-26 11:35:29 -05:00
$ACTIVITIES = ['authors', 'version_bump', 'changelog', 'pytest', 'appimage',
2020-09-17 21:24:07 -07:00
'tag', 'push_tag',
'ghrelease',
'sphinx',
'ghpages',
'pypi',
'conda_forge',
2017-11-22 18:11:52 -05:00
]
2019-10-15 17:14:50 -04:00
$PYPI_SIGN = False
2019-01-31 10:46:46 -05:00
$AUTHORS_FILENAME = "AUTHORS.rst"
2017-11-22 18:11:52 -05:00
$VERSION_BUMP_PATTERNS = [
('xonsh/__init__.py', r'__version__\s*=.*', '__version__ = "$VERSION"'),
2017-11-22 18:11:52 -05:00
]
$CHANGELOG_FILENAME = 'CHANGELOG.rst'
$CHANGELOG_TEMPLATE = 'TEMPLATE.rst'
2017-11-22 18:46:12 -05:00
2018-12-07 11:26:10 -05:00
$PYTEST_COMMAND = "./run-tests.xsh"
2017-11-22 18:11:52 -05:00
$TAG_REMOTE = 'git@github.com:xonsh/xonsh.git'
$TAG_TARGET = 'master'
2018-04-19 11:00:57 -04:00
$GHPAGES_REPO = 'git@github.com:xonsh/xonsh-docs.git'
2017-11-22 18:11:52 -05:00
2017-11-22 19:09:20 -05:00
$DOCKER_APT_DEPS = ['man']
2019-07-19 17:30:34 -04:00
with open('requirements/tests.txt') as f:
2017-11-22 18:46:12 -05:00
conda_deps = f.read().split()
2019-07-19 17:30:34 -04:00
with open('requirements/docs.txt') as f:
2017-11-22 18:46:12 -05:00
conda_deps += f.read().split()
2018-07-16 12:30:53 -04:00
for delimiter in '=<>':
conda_deps = {d.lower().split(delimiter)[0] for d in conda_deps}
2017-11-22 18:46:12 -05:00
conda_deps.discard('prompt-toolkit')
2017-11-22 19:09:20 -05:00
conda_deps |= {'prompt_toolkit', 'pip', 'psutil', 'numpy', 'matplotlib'}
2017-11-22 18:46:12 -05:00
$DOCKER_CONDA_DEPS = sorted(conda_deps)
2017-11-22 19:09:20 -05:00
$DOCKER_INSTALL_COMMAND = ('rm -rf .cache/ __pycache__/ */__pycache__ */*/__pycache__ build/ && '
'./setup.py install')
2017-11-22 18:11:52 -05:00
$DOCKER_GIT_NAME = 'xonsh'
$DOCKER_GIT_EMAIL = 'xonsh@googlegroups.com'
2020-05-03 01:04:23 +03:00
2020-08-26 11:56:16 -05:00
$GHRELEASE_ASSETS = [git_archive_asset, 'xonsh-x86_64.AppImage']