-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathrever.xsh
28 lines (25 loc) · 1 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
$PROJECT = 'rever'
$REVER_DIR = 'rever-tmp'
$ACTIVITIES = ['version_bump', 'authors', 'changelog', 'pytest',
'sphinx', 'tag', 'push_tag', 'pypi', 'conda_forge',
'ghpages', 'ghrelease']
$PYPI_SIGN = False
$VERSION_BUMP_PATTERNS = [
('rever/__init__.py', r'__version__\s*=.*', "__version__ = '$VERSION'"),
('setup.py', r'version\s*=.*,', "version='$VERSION',")
]
$CHANGELOG_FILENAME = 'CHANGELOG.rst'
$CHANGELOG_TEMPLATE = 'TEMPLATE.rst'
$PUSH_TAG_REMOTE = '[email protected]:regro/rever.git'
$GITHUB_ORG = 'regro'
$GITHUB_REPO = 'rever'
$GHPAGES_REPO = '[email protected]:regro/rever-docs.git'
with open('requirements/tests.txt') as f:
$DOCKER_CONDA_DEPS = f.read().split()
with open('requirements/docs.txt') as f:
$DOCKER_CONDA_DEPS += f.read().split()
$DOCKER_CONDA_DEPS = [d.lower() for d in set($DOCKER_CONDA_DEPS)]
$DOCKER_APT_DEPS = ['file']
$DOCKER_INSTALL_COMMAND = 'git clean -fdx && ./setup.py install'
$DOCKER_GIT_NAME = 'rever'
$DOCKER_GIT_EMAIL = '[email protected]'