Skip to content

Commit

Permalink
Setup project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
lujoga committed Sep 18, 2019
1 parent ac5e8bb commit c5e337d
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
Empty file added sendhpgl/__init__.py
Empty file.
21 changes: 21 additions & 0 deletions sendhpgl/__main__.py
Original file line number Diff line number Diff line change
@@ -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 <https://www.gnu.org/licenses/>.

def main():
pass

if __name__ == '__main__':
main()
15 changes: 15 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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'
]
}
)

0 comments on commit c5e337d

Please sign in to comment.