-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from songlab-cal/v0.4
v0.4
- Loading branch information
Showing
3 changed files
with
21 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
torch>=1.0 | ||
torch>=1.0,<1.5 | ||
tqdm | ||
tensorboardX | ||
scipy | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,18 @@ | ||
# -*- coding: utf-8 -*- | ||
from setuptools import setup, find_packages | ||
import os | ||
|
||
|
||
def get_version(): | ||
directory = os.path.abspath(os.path.dirname(__file__)) | ||
init_file = os.path.join(directory, 'tape', '__init__.py') | ||
with open(init_file) as f: | ||
for line in f: | ||
if line.startswith('__version__'): | ||
delim = '"' if '"' in line else "'" | ||
return line.split(delim)[1] | ||
else: | ||
raise RuntimeError("Unable to find version string.") | ||
|
||
|
||
with open('README.md', 'r') as rf: | ||
|
@@ -8,27 +21,21 @@ | |
with open('LICENSE', 'r') as lf: | ||
LICENSE = lf.read() | ||
|
||
with open('requirements.txt', 'r') as reqs: | ||
requirements = reqs.read().split() | ||
|
||
setup( | ||
name='tape_proteins', | ||
packages=find_packages(), | ||
version='0.3', | ||
version=get_version(), | ||
description="Repostory of Protein Benchmarking and Modeling", | ||
author="Roshan Rao, Nick Bhattacharya, Neil Thomas", | ||
author_email='[email protected], [email protected], [email protected]', | ||
url='https://github.com/songlab-cal/tape', | ||
license=LICENSE, | ||
keywords=['Proteins', 'Deep Learning', 'Pytorch', 'TAPE'], | ||
include_package_data=True, | ||
install_requires=[ | ||
'torch>=1.0', | ||
'tqdm', | ||
'tensorboardX', | ||
'scipy', | ||
'lmdb', | ||
'boto3', | ||
'requests', | ||
'biopython', | ||
], | ||
install_requires=requirements, | ||
entry_points={ | ||
'console_scripts': [ | ||
'tape-train = tape.main:run_train', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters