Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mhc_rank
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Patrick Skillman-Lawrence
mhc_rank
Commits
c116016a
Commit
c116016a
authored
8 years ago
by
Alex Rubinsteyn
Browse files
Options
Downloads
Patches
Plain Diff
only install futures for PY2
parent
fd492b92
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mhcflurry/package_metadata.py
+1
-1
1 addition, 1 deletion
mhcflurry/package_metadata.py
setup.py
+25
-15
25 additions, 15 deletions
setup.py
with
26 additions
and
16 deletions
mhcflurry/package_metadata.py
+
1
−
1
View file @
c116016a
__version__
=
"
0.
0.8
"
__version__
=
"
0.
1.0
"
This diff is collapsed.
Click to expand it.
setup.py
+
25
−
15
View file @
c116016a
...
...
@@ -15,9 +15,14 @@
import
os
import
logging
import
re
import
sys
from
setuptools
import
setup
# normally we would import six.PY2 but can't yet assume that six
# is installed here
PY2
=
sys
.
version_info
<
(
3
,
0
)
readme_dir
=
os
.
path
.
dirname
(
__file__
)
readme_filename
=
os
.
path
.
join
(
readme_dir
,
'
README.md
'
)
...
...
@@ -43,6 +48,25 @@ with open('mhcflurry/package_metadata.py', 'r') as f:
re
.
MULTILINE
).
group
(
1
)
if
__name__
==
'
__main__
'
:
required_packages
=
[
'
numpy>=1.11
'
,
'
pandas>=0.13.1
'
,
'
appdirs
'
,
'
theano>=0.8.2
'
,
'
keras==1.1.0
'
,
'
fancyimpute>=0.0.12
'
,
'
scikit-learn
'
,
'
h5py
'
,
'
typechecks
'
,
'
pepdata
'
,
'
bottle
'
,
'
six
'
,
]
if
PY2
:
# concurrent.futures is a standard library in Py3 but Py2
# requires this backport
required_packages
.
append
(
'
futures
'
)
setup
(
name
=
'
mhcflurry
'
,
version
=
version
,
...
...
@@ -71,21 +95,7 @@ if __name__ == '__main__':
package_data
=
{
'
mhcflurry
'
:
[
'
downloads.yml
'
],
},
install_requires
=
[
'
numpy>=1.11
'
,
'
pandas>=0.13.1
'
,
'
appdirs
'
,
'
theano>=0.8.2
'
,
'
keras==1.1.0
'
,
'
fancyimpute>=0.0.12
'
,
'
scikit-learn
'
,
'
h5py
'
,
'
typechecks
'
,
'
pepdata
'
,
'
futures
'
,
'
bottle
'
,
'
six
'
,
],
install_requires
=
required_packages
,
long_description
=
readme
,
packages
=
[
'
mhcflurry
'
,
'
mhcflurry.class1_allele_specific
'
],
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment