aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorAlexis M <alexis@notmyidea.org>2019-10-07 00:07:25 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2019-10-11 19:52:37 +0200
commit480939afe54fc6e8e79d6d74b8a8a3991276d460 (patch)
tree17ef49f564a1b976bd82ed488dcbcfc647336db0 /setup.py
parent9fe84bc1a2ef088e345e6215cf2e2fa3b53fc2da (diff)
downloadihatemoney-mirror-480939afe54fc6e8e79d6d74b8a8a3991276d460.zip
ihatemoney-mirror-480939afe54fc6e8e79d6d74b8a8a3991276d460.tar.gz
ihatemoney-mirror-480939afe54fc6e8e79d6d74b8a8a3991276d460.tar.bz2
Remove support for python2.
In the same move : - use a setup.cfg file for packaging - remove the use of six
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py66
1 files changed, 2 insertions, 64 deletions
diff --git a/setup.py b/setup.py
index 675e3f9..6068493 100644
--- a/setup.py
+++ b/setup.py
@@ -1,65 +1,3 @@
-# -*- coding: utf-8 -*-
-import os
-import sys
+from setuptools import setup
-from io import open
-from setuptools import setup, find_packages
-
-here = os.path.abspath(os.path.dirname(__file__))
-
-README = open('README.rst', encoding='utf-8').read()
-CHANGELOG = open('CHANGELOG.rst', encoding='utf-8').read()
-
-description = u'\n'.join([README, CHANGELOG])
-if sys.version_info.major < 3:
- description = description.encode('utf-8')
-
-ENTRY_POINTS = {
- 'paste.app_factory': [
- 'main = ihatemoney.run:main',
- ],
- 'console_scripts': [
- 'ihatemoney = ihatemoney.manage:main'
- ],
-}
-
-setup(name='ihatemoney',
- version='4.2.dev0',
- description='A simple shared budget manager web application.',
- long_description=description,
- 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 :: 3.6",
- "Programming Language :: Python :: 3.7",
- "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(),
- include_package_data=True,
- zip_safe=False,
- install_requires=[
- "flask",
- "flask-wtf",
- "flask-sqlalchemy<3.0",
- "flask-mail",
- "Flask-Migrate",
- "Flask-script",
- "flask-babel",
- "flask-restful",
- "jinja2",
- "blinker",
- "flask-cors",
- "six",
- "itsdangerous",
- "email_validator",
- "debts"],
- entry_points=ENTRY_POINTS)
+setup()