diff options
-rw-r--r-- | dotfiles/__init__.py | 1 | ||||
-rw-r--r-- | dotfiles/dotfiles.py (renamed from dotfiles.py) | 0 | ||||
-rw-r--r-- | setup.py | 9 | ||||
-rw-r--r-- | tests/conftest.py (renamed from conftest.py) | 0 | ||||
-rw-r--r-- | tests/test_dotfiles.py (renamed from test_dotfiles.py) | 4 |
5 files changed, 7 insertions, 7 deletions
diff --git a/dotfiles/__init__.py b/dotfiles/__init__.py new file mode 100644 index 0000000..8ead4c9 --- /dev/null +++ b/dotfiles/__init__.py @@ -0,0 +1 @@ +__version__ = '0.7.dev0' diff --git a/dotfiles.py b/dotfiles/dotfiles.py index 1805e97..1805e97 100644 --- a/dotfiles.py +++ b/dotfiles/dotfiles.py @@ -1,9 +1,10 @@ from setuptools import setup +from dotfiles import __version__ setup( name='dotfiles', - version='0.7.dev0', + version=__version__, author='Jon Bernard', author_email='jbernard@tuxion.com', description='Easily manage your dotfiles', @@ -12,9 +13,7 @@ setup( open('LICENSE.rst').read() + '\n\n' + open('HISTORY.rst').read()), license='ISC', - py_modules=[ - 'dotfiles' - ], + packages=['dotfiles'], setup_requires=[ 'pytest-runner', 'flake8', @@ -28,7 +27,7 @@ setup( ], entry_points={ 'console_scripts': [ - 'dotfiles=dotfiles:cli', + 'dotfiles=dotfiles.dotfiles:cli', ], }, classifiers=[ diff --git a/conftest.py b/tests/conftest.py index f28429c..f28429c 100644 --- a/conftest.py +++ b/tests/conftest.py diff --git a/test_dotfiles.py b/tests/test_dotfiles.py index 0fd55a6..ffc9073 100644 --- a/test_dotfiles.py +++ b/tests/test_dotfiles.py @@ -1,7 +1,7 @@ import pytest -from dotfiles import Repository, Dotfile, cli -from dotfiles import IsSymlink +from dotfiles.dotfiles import Repository, Dotfile, cli +from dotfiles.dotfiles import IsSymlink class TestCli(object): |