summaryrefslogtreecommitdiff
path: root/www/py-gandi.cli/files/patch-setup.py
diff options
context:
space:
mode:
authorKubilay Kocak <koobs@FreeBSD.org>2015-01-26 10:41:05 +0000
committerKubilay Kocak <koobs@FreeBSD.org>2015-01-26 10:41:05 +0000
commit5bf9a2f4088f9de1ccd10b20a2d6b38c60a16e6f (patch)
treeb0bae23feba66024df99ae05cbfece8ec84d92c8 /www/py-gandi.cli/files/patch-setup.py
parentUpdate to 1.4.0 (diff)
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
Notes
Notes: svn path=/head/; revision=377931
Diffstat (limited to 'www/py-gandi.cli/files/patch-setup.py')
-rw-r--r--www/py-gandi.cli/files/patch-setup.py24
1 files changed, 24 insertions, 0 deletions
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]