Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
add_module
Commits
584b869a
Commit
584b869a
authored
Oct 27, 2020
by
Paul McCarthy
🚵
Browse files
MNT: setup.py
parent
2aad7422
Pipeline
#5711
failed
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
setup.py
0 → 100644
View file @
584b869a
#!/usr/bin/env python
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'
,
'add_module'
,
'__init__.py'
))
as
f
:
for
line
in
f
:
if
line
.
startswith
(
'__version__ = '
):
exec
(
line
,
version
)
break
version
=
version
[
'__version__'
]
with
open
(
op
.
join
(
basedir
,
'README.md'
),
'rt'
)
as
f
:
readme
=
f
.
read
()
setup
(
name
=
'fsl_add_module'
,
version
=
version
,
description
=
'Script to download and install FSL modules'
,
long_description
=
readme
,
long_description_content_type
=
'text/markdown'
,
url
=
'https://git.fmrib.ox.ac.uk/fsl/fsl_add_module'
,
author
=
'Paul McCarthy'
,
author_email
=
'paul.mccarthy@ndcn.ox.ac.uk'
,
license
=
'Apache License Version 2.0'
,
classifiers
=
[
'Programming Language :: Python :: 3.7'
,
'Programming Language :: Python :: 3.8'
,
'Programming Language :: Python :: 3.9'
,
],
install_requires
=
install_requires
,
packages
=
find_packages
(),
include_package_data
=
True
,
entry_points
=
{
'console_scripts'
:
[
'fsl_add_module = fsl.scripts.fsl_add_module:main'
,
]
}
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment