Refactor rattail.hw.cognitive -> rattail_cognitive.

This commit is contained in:
Lance Edgar 2014-04-29 20:57:40 -07:00
parent 20e178336a
commit 416ee45304
9 changed files with 10 additions and 13 deletions

2
.gitignore vendored
View file

@ -1 +1 @@
rattail.hw.cognitive.egg-info rattail_cognitive.egg-info

View file

@ -1,6 +1,6 @@
rattail.hw.cognitive rattail_cognitive
==================== =================
Rattail is a retail software framework based on `edbob <http://edbob.org/>`_, Rattail is a retail software framework based on `edbob <http://edbob.org/>`_,
and released under the GNU Affero General Public License. and released under the GNU Affero General Public License.

4
fabfile.py vendored
View file

@ -30,7 +30,7 @@ from fabric.api import *
@task @task
def release(): def release():
""" """
Release a new version of 'rattail.hw.cognitive'. Release a new version of 'rattail_cognitive'.
""" """
shutil.rmtree('rattail.egg-info') shutil.rmtree('rattail_cognitive.egg-info')
local('python setup.py sdist --formats=gztar register upload') local('python setup.py sdist --formats=gztar register upload')

View file

@ -1 +0,0 @@
__import__('pkg_resources').declare_namespace(__name__)

View file

@ -1 +0,0 @@
__import__('pkg_resources').declare_namespace(__name__)

View file

@ -23,7 +23,7 @@
################################################################################ ################################################################################
""" """
``rattail.hw.cognitive`` -- Cognitive Hardware Interfaces Cognitive Hardware Interfaces
""" """
from rattail.hw.cognitive._version import __version__ from rattail_cognitive._version import __version__

View file

@ -23,7 +23,7 @@
################################################################################ ################################################################################
""" """
``rattail.hw.cognitive.labels`` -- Label Printing Label Printing
""" """
from cStringIO import StringIO from cStringIO import StringIO

View file

@ -28,7 +28,7 @@ from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__)) here = os.path.abspath(os.path.dirname(__file__))
execfile(os.path.join(here, 'rattail', 'hw', 'cognitive', '_version.py')) execfile(os.path.join(here, 'rattail_cognitive', '_version.py'))
README = open(os.path.join(here, 'README.txt')).read() README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read() CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
@ -67,7 +67,7 @@ requires = [
setup( setup(
name = "rattail.hw.cognitive", name = "rattail_cognitive",
version = __version__, version = __version__,
author = "Lance Edgar", author = "Lance Edgar",
author_email = "lance@edbob.org", author_email = "lance@edbob.org",
@ -96,7 +96,6 @@ setup(
install_requires = requires, install_requires = requires,
namespace_packages = ['rattail', 'rattail.hw'],
packages = find_packages(), packages = find_packages(),
include_package_data = True, include_package_data = True,
zip_safe = False, zip_safe = False,