Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (42 sloc) 1.64 KB
# -*- coding: utf-8 -*-
# Authors: David Whitlock <alovedalongthe@gmail.com>, Bryan Helmig
# Crossword generator that outputs the grid and clues as a pdf file and/or
# the grid in png/svg format with a text file containing the words and clues.
# Copyright (C) 2010-2011 Bryan Helmig
# Copyright (C) 2011-2012 David Whitlock
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/gpl.html>.
import os, sys
from distutils.core import setup
if sys.version[0] == '3':
scripts = ['bin/genxword3', 'bin/genxword3-gtk']
else:
scripts = ['bin/genxword', 'bin/genxword-gtk']
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except IOError:
return "File '{}'.format(fname) not found.\n"
setup(
name = 'genxword',
version = '0.3.1',
packages = ['genxword'],
scripts = scripts,
author = 'David Whitlock',
author_email = 'alovedalongthe@gmail.com',
url = 'https://github.com/riverrun/genxword',
description = 'A crossword generator',
long_description = read('README.rst'),
license = 'GPLv3',
)
Something went wrong with that request. Please try again.