setup.py, rearrange files
This commit is contained in:
parent
a2928bb9c7
commit
d2ea5b6df2
|
@ -0,0 +1,4 @@
|
||||||
|
/env
|
||||||
|
*.egg-info
|
||||||
|
*.pyc
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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]
|
||||||
|
|
|
@ -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',
|
||||||
|
),
|
||||||
|
)
|
Loading…
Reference in New Issue