diff --git a/sendhpgl/__init__.py b/sendhpgl/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/sendhpgl/__main__.py b/sendhpgl/__main__.py new file mode 100644 index 0000000..d99538d --- /dev/null +++ b/sendhpgl/__main__.py @@ -0,0 +1,21 @@ +# Send HP-GL code to 7475A plotter +# Copyright (C) 2019 Luca Schmid + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +def main(): + pass + +if __name__ == '__main__': + main() diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..f2a89bf --- /dev/null +++ b/setup.py @@ -0,0 +1,15 @@ +from setuptools import setup + +setup( + name='plotter', + packages=['sendhpgl'], + include_package_data=True, + install_requires=[ + 'pyserial', + ], + entry_points={ + 'console_scripts': [ + 'sendhpgl=sendhpgl.__main__:main' + ] + } +)