aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2017-03-28 17:40:00 +0200
committerGitHub <noreply@github.com>2017-03-28 17:40:00 +0200
commitacbe2c10d8fb86ef04af60fc257ce4d51ffee45c (patch)
treebbe99cbdcc7c7d99453b830382b0e3e7f492beb6 /setup.py
parent3dac51208d17a517c1f525df6f2ed6572127fcc0 (diff)
parentbfcb9ef966df436a23af0a042e0addb7e1196f58 (diff)
downloadihatemoney-mirror-acbe2c10d8fb86ef04af60fc257ce4d51ffee45c.zip
ihatemoney-mirror-acbe2c10d8fb86ef04af60fc257ce4d51ffee45c.tar.gz
ihatemoney-mirror-acbe2c10d8fb86ef04af60fc257ce4d51ffee45c.tar.bz2
Merge pull request #182 from spiral-project/releases
Start making releases
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py69
1 files changed, 69 insertions, 0 deletions
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..1e59227
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,69 @@
+# -*- coding: utf-8 -*-
+import codecs
+import os
+from setuptools import setup, find_packages
+
+here = os.path.abspath(os.path.dirname(__file__))
+
+
+def read_file(filename):
+ """Open a related file and return its content."""
+ with codecs.open(os.path.join(here, filename), encoding='utf-8') as f:
+ content = f.read()
+ return content
+
+
+README = read_file('README.rst')
+CHANGELOG = read_file('CHANGELOG.rst')
+
+REQUIREMENTS = [
+ 'flask>=0.11',
+ 'flask-wtf>=0.13',
+ 'flask-sqlalchemy',
+ 'flask-mail>=0.8',
+ 'Flask-Migrate>=1.8.0',
+ 'flask-babel',
+ 'flask-rest',
+ 'jinja2>=2.6',
+ 'raven',
+ 'blinker',
+ 'six>=1.10',
+]
+
+DEPENDENCY_LINKS = [
+]
+
+ENTRY_POINTS = {
+ 'paste.app_factory': [
+ 'main = budget.run:main',
+ ],
+}
+
+
+setup(name='ihatemoney',
+ version='1.0.0',
+ description='A simple shared budget manager web application.',
+ long_description="{}\n\n{}".format(README, CHANGELOG),
+ license='Custom BSD Beerware',
+ classifiers=[
+ "Programming Language :: Python",
+ "Programming Language :: Python :: 2.7",
+ "Programming Language :: Python :: 3",
+ "Programming Language :: Python :: 3.5",
+ "Programming Language :: Python :: Implementation :: CPython",
+ "Topic :: Internet :: WWW/HTTP",
+ "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
+ ],
+ keywords="web budget",
+ author='Alexis Métaireau & contributors',
+ author_email='alexis@notmyidea.org',
+ url='https://github.com/spiral-project/ihatemoney',
+ packages=find_packages(),
+ package_data={'': ['*.rst', '*.py', '*.yaml', '*.po', '*.mo', '*.html',
+ '*.css', '*.js', '*.eot', '*.svg', '*.woff', '*.txt',
+ '*.png', '*.ini', '*.cfg']},
+ include_package_data=True,
+ zip_safe=False,
+ install_requires=REQUIREMENTS,
+ dependency_links=DEPENDENCY_LINKS,
+entry_points=ENTRY_POINTS)