Make this a proper Python package using setuptools

Added setup.py and MANIFEST.in. MOved documentation into its own sub dir
This commit is contained in:
Florian Festi 2016-03-26 11:12:14 +01:00
parent 70bb1bf5af
commit 4bc85b3be4
6 changed files with 40 additions and 9 deletions

3
.gitignore vendored
View File

@ -5,3 +5,6 @@
*.pyc
*.pwj
*.ud
build/
dist/
boxes.py.egg-info/

3
MANIFEST.in Normal file
View File

@ -0,0 +1,3 @@
include README.txt LICENSE.txt
include examples/*.svg
include documentation/presentation.odp documentation/TODO.txt

View File

@ -1,9 +0,0 @@
* Make outer edge continuous even if other parts are drawn intermediately.
* Fix burn compensation for building blocks (especially fingerHolesAt)
* Fix hexHoles* (leftoover, grow to space, ...)
* Try out box with fully mixed fF edges and check if all corners work properly
* finish lamp
* Make settings nicer
* offer a collection of different settings
* Make bolts configurable (e.g. box2.py)
* setup.py

8
documentation/TODO.txt Normal file
View File

@ -0,0 +1,8 @@
* Make outer edge continuous even if other parts are drawn intermediately.
* Check burn compensation for building blocks
* Fix hexHoles* (leftoover, grow to space, ...)
* Finish lamp
* Make settings nicer
* Offer a collection of different settings
* Make bolts configurable (e.g. box2.py)
* Script for generating examples/*.svg

26
setup.py Executable file
View File

@ -0,0 +1,26 @@
#!/usr/bin/python3
from setuptools import setup, find_packages
setup(name='boxes.py',
version='0.1',
description='Boxes generator for laser cutters',
author='Florian Festi',
author_email='florian@festi.info',
url='https://github.com/florianfesti/boxes',
packages=find_packages(),
install_requires=['cairo'],
scripts=['scripts/boxes', 'scripts/boxesserver'],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Environment :: Web Environment",
"Intended Audience :: Manufacturing",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Topic :: Multimedia :: Graphics :: Editors :: Vector-Based",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Computer Aided Design",
],
keywords=["boxes", "box", "generator", "svg", "laser cutter"],
)