xonsh/rever.xsh

38 lines
1.3 KiB
Text
Raw Normal View History

2017-11-22 18:11:52 -05:00
$PROJECT = $GITHUB_ORG = $GITHUB_REPO = 'xonsh'
$WEBSITE_URL = 'http://xon.sh'
2019-01-31 10:46:46 -05:00
$ACTIVITIES = ['authors', 'version_bump', 'changelog', 'pytest',
2018-06-06 13:21:58 -04:00
'tag', 'push_tag', 'ghrelease', 'sphinx',
'ghpages', 'pypi', 'conda_forge',
2017-11-22 18:11:52 -05:00
]
2019-01-31 10:46:46 -05:00
$AUTHORS_FILENAME = "AUTHORS.rst"
2017-11-22 18:11:52 -05:00
$VERSION_BUMP_PATTERNS = [
('.appveyor.yml', 'version:.*', 'version: $VERSION.{build}'),
('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']
2017-11-22 18:11:52 -05:00
with open('requirements-tests.txt') as f:
2017-11-22 18:46:12 -05:00
conda_deps = f.read().split()
2017-11-22 18:11:52 -05: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'