From 31698d3543d326e14f7b42975a0fe640274d9493 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 9 Jul 2013 21:39:07 +0200 Subject: [PATCH] First version of setup.py for packaging OctoPrint --- MANIFEST.in | 2 ++ setup.py | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 MANIFEST.in create mode 100644 setup.py diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 00000000..34aec812 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +recursive-include octoprint/static * +recursive-include octoprint/templates * diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..8d2bc6cc --- /dev/null +++ b/setup.py @@ -0,0 +1,44 @@ +# coding=utf-8 +#!/usr/bin/env python + +from setuptools import setup, find_packages + +VERSION = "0.1.0" + +def params(): + name = "OctoPrint" + version = VERSION + description = "A responsive web interface for 3D printers" + long_description = open("README.md").read() + classifiers = [ + "Development Status :: 4 - Beta", + "Environment :: Web Environment", + "Framework :: Flask", + "Intended Audience :: Education", + "Intended Audience :: End Users/Desktop", + "Intended Audience :: Manufacturing", + "Intended Audience :: Science/Research", + "License :: OSI Approved :: GNU Affero General Public License v3", + "Natural Language :: English", + "Operating System :: OS Independent", + "Programming Language :: Python :: 2.7", + "Programming Language :: JavaScript", + "Topic :: Internet :: WWW/HTTP", + "Topic :: Internet :: WWW/HTTP :: Dynamic Content", + "Topic :: Internet :: WWW/HTTP :: WSGI", + "Topic :: Printing", + "Topic :: System :: Networking :: Monitoring" + ] + author = "Gina Häußge" + author_email = "osd@foosel.net" + url = "http://octoprint.org" + license = "AGPLv3" + + packages = find_packages() + include_package_data = True + zip_safe = False + install_requires = open("requirements.txt").read().split("\n") + + return locals() + +setup(**params())