From 94c94c207174c4b16bc66edfec255a84b07ab8df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Reyes=20Monge?= Date: Wed, 14 Aug 2013 20:41:41 -0600 Subject: [PATCH] Creating a new setup.py --- .gitignore | 5 +++++ setup.py | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 setup.py diff --git a/.gitignore b/.gitignore index 3d7a458..4e6917a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,8 @@ *.pyc ~*.* *.*~ +*.egg +*.egg-info +dist +build +eggs diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..955e39c --- /dev/null +++ b/setup.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +import os +from setuptools import setup + +# Utility function to read the README file. +# Used for the long_description. It's nice, because now 1) we have a top level +# README file and 2) it's easier to type in the README file than to put a raw +# string in below ... +def read(fname): + return open(os.path.join(os.path.dirname(__file__), fname)).read() + +setup( + name='secretary', + version='0.0.1', + url='https://github.com/christopher-ramirez/secretary', + license='BSD', + author='Christopher Ramírez', + author_email='mail@example.com', + description=('Take the power of Jinja2 templates to OpenOffice and ' + 'LibreOffice and create reports in your web applications'), + long_description=read('README.md'), + py_modules=['secretary'], + platforms='any', + install_requires=[ + 'Jinja2', + ], + classifiers=[ + 'Environment :: Web Environment', + 'Intended Audience :: End Users/Desktop', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Development Status :: 3 - Alpha', + 'Topic :: Software Development :: Libraries :: Python Modules', + 'Topic :: Office/Business', + 'Topic :: Utilities', + ] +)