From 5bf9a2f4088f9de1ccd10b20a2d6b38c60a16e6f Mon Sep 17 00:00:00 2001 From: Kubilay Kocak Date: Mon, 26 Jan 2015 10:41:05 +0000 Subject: www/py-gandi.cli: Gandi command line interface Use `$ gandi` to easily create and manage web resources from the command line. * `$ gandi domain` to buy and manage your domain names * `$ gandi paas` to create and deploy your web applications * `$ gandi vm` to spin up and upgrade your virtual machines * `$ gandi` to list all available commands WWW: https://github.com/Gandi/gandi.cli --- www/py-gandi.cli/files/patch-setup.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 www/py-gandi.cli/files/patch-setup.py (limited to 'www/py-gandi.cli/files/patch-setup.py') diff --git a/www/py-gandi.cli/files/patch-setup.py b/www/py-gandi.cli/files/patch-setup.py new file mode 100644 index 000000000000..6c7022a40861 --- /dev/null +++ b/www/py-gandi.cli/files/patch-setup.py @@ -0,0 +1,24 @@ +--- setup.py.orig 2015-01-08 09:26:15 UTC ++++ setup.py +@@ -6,10 +6,11 @@ import os + import sys + + from setuptools import setup, find_packages ++from io import open + + here = os.path.abspath(os.path.dirname(__file__)) +-README = open(os.path.join(here, 'README.md')).read() +-CHANGES = open(os.path.join(here, 'CHANGES.rst')).read() ++README = open(os.path.join(here, 'README.md'), encoding='utf-8').read() ++CHANGES = open(os.path.join(here, 'CHANGES.rst'), encoding='utf-8').read() + + + with open(os.path.join(here, 'gandi', 'cli', '__init__.py')) as v_file: +@@ -49,6 +50,7 @@ setup(name='gandi.cli', + zip_safe=False, + install_requires=requires, + tests_require=tests_require, ++ test_suite='gandi.cli.tests', + extras_require=extras_require, + entry_points="""\ + [console_scripts] -- cgit v1.2.3