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
bis-aria
ariaec
Commits
99041c79
Commit
99041c79
authored
Jul 02, 2019
by
Fabrice ALLAIN
Browse files
fix: force python 2.7 dependency
parent
00d68653
Changes
2
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
99041c79
...
@@ -8,7 +8,7 @@ RUN curl --silent --location https://rpm.nodesource.com/setup_8.x | bash -; yum
...
@@ -8,7 +8,7 @@ RUN curl --silent --location https://rpm.nodesource.com/setup_8.x | bash -; yum
RUN
npm
install
-g
--save-dev
@commitlint/
{
cli,config-conventional
}
;
npm
install
-g
conventional-changelog-cli
RUN
npm
install
-g
--save-dev
@commitlint/
{
cli,config-conventional
}
;
npm
install
-g
conventional-changelog-cli
RUN
echo
"module.exports = {extends: ['@commitlint/config-conventional']};"
>
commitlint.config.js
RUN
echo
"module.exports = {extends: ['@commitlint/config-conventional']};"
>
commitlint.config.js
RUN
pip
install
--upgrade
pip setuptools
future
;
pip
install
coverage
;
pip
install
pytest
;
pip
install
pytest-cov
RUN
pip
install
--upgrade
pip setuptools
;
pip
install
coverage
;
pip
install
pytest
;
pip
install
pytest-cov
RUN
wget http://www2.ccpn.ac.uk/download/ccpnmr/analysis2.4.2.tar.gz
;
tar
xvzf analysis2.4.2.tar.gz
;
export
CCPNMR_TOP_DIR
=
$(
pwd
)
/ccpnmr
;
export
PYTHONPATH
=
${
PYTHONPATH
}
:
$CCPNMR_TOP_DIR
/ccpnmr2.4/python
RUN
wget http://www2.ccpn.ac.uk/download/ccpnmr/analysis2.4.2.tar.gz
;
tar
xvzf analysis2.4.2.tar.gz
;
export
CCPNMR_TOP_DIR
=
$(
pwd
)
/ccpnmr
;
export
PYTHONPATH
=
${
PYTHONPATH
}
:
$CCPNMR_TOP_DIR
/ccpnmr2.4/python
...
@@ -18,5 +18,5 @@ ADD *.py PKG-INFO /build-aria/
...
@@ -18,5 +18,5 @@ ADD *.py PKG-INFO /build-aria/
RUN
ls
build-aria/src/aria
RUN
ls
build-aria/src/aria
RUN
type
pip
;
type
python
RUN
type
pip
;
type
python
RUN
pip
--version
RUN
pip
--version
RUN
cd
build-aria
;
pip
install
.
;
npm
install
--save-dev
husky
RUN
cd
build-aria
;
/usr/lib/python2.7/site-packages/
pip
install
.
;
npm
install
--save-dev
husky
RUN
npx yarn add husky
--dev
RUN
npx yarn add husky
--dev
setup.py
View file @
99041c79
...
@@ -203,6 +203,7 @@ def setup_package():
...
@@ -203,6 +203,7 @@ def setup_package():
},
},
classifiers
=
[
_f
for
_f
in
CLASSIFIERS
.
split
(
'
\n
'
)
if
_f
],
classifiers
=
[
_f
for
_f
in
CLASSIFIERS
.
split
(
'
\n
'
)
if
_f
],
platforms
=
[
"Linux"
,
"Solaris"
,
"Mac OS-X"
,
"Unix"
],
platforms
=
[
"Linux"
,
"Solaris"
,
"Mac OS-X"
,
"Unix"
],
python_requires
=
'>=2.7,<3.0.*'
,
setup_requires
=
[
setup_requires
=
[
# Setuptools 18.0 properly handles Cython extensions.
# Setuptools 18.0 properly handles Cython extensions.
'setuptools>=18.0'
,
'setuptools>=18.0'
,
...
...
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