-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New version information is now added
- Loading branch information
Chenggong
committed
Jul 20, 2023
1 parent
d61ab68
commit 684d991
Showing
2 changed files
with
19 additions
and
3 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,5 +1,7 @@ | ||
from .Sfilter import Sfilter | ||
from .sfilter import sfilter | ||
from .util.output_wrapper import Perm_event_output | ||
from .util.output_wrapper import Cylinder_output | ||
from .util.output_wrapper import read_k_cylinder | ||
from .util import MSM | ||
from .util import MSM | ||
|
||
__version__ = '0.5.1' |
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,8 +1,22 @@ | ||
from setuptools import setup, find_packages | ||
import codecs | ||
import os.path | ||
|
||
def read(rel_path): | ||
here = os.path.abspath(os.path.dirname(__file__)) | ||
with codecs.open(os.path.join(here, rel_path), 'r') as fp: | ||
return fp.read() | ||
def get_version(rel_path): | ||
for line in read(rel_path).splitlines(): | ||
if line.startswith('__version__'): | ||
delim = '"' if '"' in line else "'" | ||
return line.split(delim)[1] | ||
else: | ||
raise RuntimeError("Unable to find version string.") | ||
|
||
setup( | ||
name='Sfilter', | ||
version='0.4.0', | ||
version=get_version("Sfilter/__init__.py"), | ||
description='This is a tool for basic analysis in Potassium Channel MD simulation.', | ||
author='Chenggong Hui', | ||
author_email='[email protected]', | ||
|