setup.py, rearrange files

This commit is contained in:
Michael Fogleman 2017-01-07 20:48:01 -05:00
parent a2928bb9c7
commit d2ea5b6df2
9 changed files with 33 additions and 8 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
/env
*.egg-info
*.pyc

View File

@ -1,5 +1,3 @@
from device import Device from .device import Device
from .drawing import Drawing
from drawing import Drawing from .planner import Planner
from planner import Planner

View File

@ -1,8 +1,10 @@
import time
from math import modf from math import modf
from planner import Planner
from serial import Serial from serial import Serial
from serial.tools.list_ports import comports from serial.tools.list_ports import comports
import time
from .planner import Planner
STEPS_PER_INCH = 2032 STEPS_PER_INCH = 2032
STEPS_PER_MM = 80 STEPS_PER_MM = 80

View File

@ -1,4 +1,4 @@
from spatial import Index from .spatial import Index
def sort_paths(paths, reversable=True): def sort_paths(paths, reversable=True):
first = paths[0] first = paths[0]

21
setup.py Normal file
View File

@ -0,0 +1,21 @@
from setuptools import setup
setup(
name='axi',
version='0.1',
description='Library for working with the AxiDraw v3 pen plotter.',
author='Michael Fogleman',
author_email='michael.fogleman@gmail.com',
packages=['axi'],
install_requires=['pyserial'],
license='MIT',
classifiers=(
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: Implementation :: CPython',
),
)