forked from xonsh/xonsh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rever.xsh
37 lines (32 loc) · 1.34 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
36
37
$PROJECT = $GITHUB_ORG = $GITHUB_REPO = 'xonsh'
$WEBSITE_URL = 'https://xon.sh'
$ACTIVITIES = ['authors', 'version_bump', 'changelog', 'pytest',
'tag', 'push_tag', 'ghrelease', 'sphinx',
'ghpages', 'pypi', 'conda_forge',
]
$PYPI_SIGN = False
$AUTHORS_FILENAME = "AUTHORS.rst"
$VERSION_BUMP_PATTERNS = [
('.appveyor.yml', 'version:.*', 'version: $VERSION.{build}'),
('xonsh/__init__.py', r'__version__\s*=.*', '__version__ = "$VERSION"'),
]
$CHANGELOG_FILENAME = 'CHANGELOG.rst'
$CHANGELOG_TEMPLATE = 'TEMPLATE.rst'
$PYTEST_COMMAND = "./run-tests.xsh"
$TAG_REMOTE = '[email protected]:xonsh/xonsh.git'
$TAG_TARGET = 'master'
$GHPAGES_REPO = '[email protected]:xonsh/xonsh-docs.git'
$DOCKER_APT_DEPS = ['man']
with open('requirements/tests.txt') as f:
conda_deps = f.read().split()
with open('requirements/docs.txt') as f:
conda_deps += f.read().split()
for delimiter in '=<>':
conda_deps = {d.lower().split(delimiter)[0] for d in conda_deps}
conda_deps.discard('prompt-toolkit')
conda_deps |= {'prompt_toolkit', 'pip', 'psutil', 'numpy', 'matplotlib'}
$DOCKER_CONDA_DEPS = sorted(conda_deps)
$DOCKER_INSTALL_COMMAND = ('rm -rf .cache/ __pycache__/ */__pycache__ */*/__pycache__ build/ && '
'./setup.py install')
$DOCKER_GIT_NAME = 'xonsh'
$DOCKER_GIT_EMAIL = '[email protected]'