From 69cea548181f4496bf34de6cbd595bf361c26891 Mon Sep 17 00:00:00 2001 From: Manuel F Martinez Date: Wed, 13 Mar 2013 23:22:43 -0700 Subject: [PATCH] Added proper installer --- __init__.py => escpos/__init__.py | 0 constants.py => escpos/constants.py | 0 escpos.py => escpos/escpos.py | 0 exceptions.py => escpos/exceptions.py | 0 printer.py => escpos/printer.py | 0 setup.py | 29 +++++++++++++++++++++++++++ 6 files changed, 29 insertions(+) rename __init__.py => escpos/__init__.py (100%) rename constants.py => escpos/constants.py (100%) rename escpos.py => escpos/escpos.py (100%) rename exceptions.py => escpos/exceptions.py (100%) rename printer.py => escpos/printer.py (100%) create mode 100755 setup.py 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', + ], +)