diff --git a/__init__.py b/escpos/__init__.py similarity index 100% rename from __init__.py rename to escpos/__init__.py diff --git a/constants.py b/escpos/constants.py similarity index 100% rename from constants.py rename to escpos/constants.py diff --git a/escpos.py b/escpos/escpos.py similarity index 100% rename from escpos.py rename to escpos/escpos.py diff --git a/exceptions.py b/escpos/exceptions.py similarity index 100% rename from exceptions.py rename to escpos/exceptions.py diff --git a/printer.py b/escpos/printer.py similarity index 100% rename from printer.py rename to escpos/printer.py diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..4388292 --- /dev/null +++ b/setup.py @@ -0,0 +1,29 @@ +#!/usr/bin/python + +from distutils.core import setup + +setup( + name='escpos', + version='2.7', + url='http://code.google.com/p/python-escpos', + download_url='http://python-escpos.googlecode.com/files/python-escpos-1.0.zip', + description='Python library to manipulate ESC/POS Printers', + license='GNU GPL v3', + long_description=open('README').read(), + author='Manuel F Martinez', + author_email='manpaz@bashlinux.com', + platforms=['linux'], + packages=[ + 'escpos', + ], + package_data={'': ['COPYING']}, + classifiers=[ + 'Development Status :: 1 - Alpha', + 'License :: OSI Approved :: GNU GPL v3', + 'Operating System :: GNU/Linux', + 'Intended Audience :: Developers', + 'Programming Language :: Python', + 'Topic :: System :: Pheripherals', + 'Topic :: Software Development :: Libraries :: Python Modules', + ], +)