File tree Expand file tree Collapse file tree 3 files changed +13
-16
lines changed Expand file tree Collapse file tree 3 files changed +13
-16
lines changed Original file line number Diff line number Diff line change 22from setuptools import setup , find_packages
33from setuptools .command .test import test as TestCommand
44
5+ __version__ = "unknown"
6+
7+ # "import" __version__
8+ for line in open ("sfs/__init__.py" ):
9+ if line .startswith ("__version__" ):
10+ exec (line )
11+ break
12+
513
614# See http://pytest.org/latest/goodpractises.html
715class PyTest (TestCommand ):
@@ -23,8 +31,6 @@ def run_tests(self):
2331 sys .exit (errno )
2432
2533
26- exec (open ('sfs/_version.py' ).read ()) # "import" __version__
27-
2834setup (
2935 name = "sfs" ,
3036 version = __version__ ,
Original file line number Diff line number Diff line change 1- """Sound Field Synthesis Toolbox."""
1+ """Sound Field Synthesis Toolbox.
22
3- from ._version import __version__
3+ http://sfs.rtfd.org/
4+
5+ """
6+ __version__ = "0.1.1"
47
58from . import tapering
69from . import array
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments