Commit 0f20a4a4 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

MNT:

parent 93b116bb
include README.md
include requirements.txt
recursive-include fsl_ci *
#!/usr/bin/env python
#
# setup.py -
#
# Author: Paul McCarthy <pauldmccarthy@gmail.com>
#
import os.path as op
from setuptools import setup, find_packages
basedir = op.dirname(__file__)
with open(op.join(basedir, 'requirements.txt'), 'rt') as f:
install_requires = [line.strip() for line in f.readlines()]
install_requires = [line for line in install_requires if line != '']
version = {}
with open(op.join(basedir, 'fsl_ci', '__init__.py')) as f:
for line in f:
if line.startswith('__version__ = '):
exec(line, version)
break
version = version['__version__']
setup(
name='fsl-ci-rules',
version=version,
description='Utilities for FSL CI',
url='https://git.fmrib.ox.ac.uk/fsl/fsl-ci-rules',
author='Paul McCarthy',
author_email='paul.mccarthy@ndcn.ox.ac.uk',
install_requires=install_requires,
packages=find_packages(),
include_package_data=True,
entry_points={'console_scripts' : [
'build_conda_package = fsl_ci.scripts.build_conda_package:main',
'deploy_conda_package = fsl_ci.scripts.deploy_conda_package:main',
'trigger_package_build = fsl_ci.scripts.trigger_package_build:main',
'update_conda_recipe = fsl_ci.scripts.update_conda_recipe:main',
'configure_repositories = fsl_ci.utils.configure_repsitories:main',
'create_conda_recipe = fsl_ci.utils.create_conda_recipe:main',
'fsl_project_dependencies = fsl_ci.utils.fsl_project_dependencies:main',
'package_status = fsl_ci.utils.package_status:main',
'set_gitlab_variables = fsl_ci.utils.set_gitlab_variables:main',
'trigger_build = fsl_ci.utils.trigger_build:main',
'trigger_pipeline = fsl_ci.utils.trigger_pipeline:main',
]}
)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment