Skip to content

Commit 40a5d3f

Browse files
author
4b796c65
committed
Cleaned up setup and readme
1 parent 6e983db commit 40a5d3f

File tree

4 files changed

+65
-54
lines changed

4 files changed

+65
-54
lines changed

LICENSE.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Copyright (c) 2012-2014, Kyle Stewart
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are met:
6+
7+
1. Redistributions of source code must retain the above copyright notice, this
8+
list of conditions and the following disclaimer.
9+
2. Redistributions in binary form must reproduce the above copyright notice,
10+
this list of conditions and the following disclaimer in the documentation
11+
and/or other materials provided with the distribution.
12+
13+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
14+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
15+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
16+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
17+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
18+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
19+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
20+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
22+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23+
24+
The views and conclusions contained in the software and documentation are those
25+
of the authors and should not be interpreted as representing official policies,
26+
either expressed or implied, of the FreeBSD Project.

README.txt

Lines changed: 27 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,29 @@
1-
=== Requirements ===
2-
* Python 2.6+ or 3.x
1+
=======
2+
About
3+
=======
4+
TDL is a port of the C library libtcod in an attempt to make it more "Pythonic"
5+
6+
The library can be used for displaying tilesets (ANSI, Unicode, or graphical) in true color.
7+
8+
It also provides functionality to compute path-finding and field of view.
9+
10+
python-tdl on GoogleCode: http://code.google.com/p/python-tdl/
11+
12+
Online Documentation: http://pythonhosted.org/tdl/
13+
14+
Issue Tracker: http://code.google.com/p/python-tdl/issues/list
15+
16+
python-tdl is a ctypes port of "libtcod".
17+
You can find more about libtcod at: http://doryen.eptalys.net/libtcod/
18+
19+
==============
20+
Requirements
21+
==============
22+
* Python 2.6+ or 3.x up to 3.3
323
* 32 bit Windows, 32/64 bit Linux, or Mac OS/X (64 bit architecture)
424

5-
=== About ===
6-
TDL is a port of the C library libtcod in an attempt to make it more "Pythonic"
7-
You can find more about libtcod at: http://doryen.eptalys.net/libtcod/
8-
And you can find the tdl project here: http://code.google.com/p/python-tdl/
9-
10-
Report any bugs or issues here:
11-
https://code.google.com/p/python-tdl/issues/list
12-
13-
== License ==
14-
Copyright (c) 2012, Kyle Stewart
15-
All rights reserved.
16-
17-
Redistribution and use in source and binary forms, with or without
18-
modification, are permitted provided that the following conditions are met:
19-
20-
1. Redistributions of source code must retain the above copyright notice, this
21-
list of conditions and the following disclaimer.
22-
2. Redistributions in binary form must reproduce the above copyright notice,
23-
this list of conditions and the following disclaimer in the documentation
24-
and/or other materials provided with the distribution.
25-
26-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
27-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
28-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
29-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
30-
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
31-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
32-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
33-
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
35-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36-
37-
The views and conclusions contained in the software and documentation are those
38-
of the authors and should not be interpreted as representing official policies,
39-
either expressed or implied, of the FreeBSD Project.
25+
=========
26+
License
27+
=========
28+
python-tdl is distributed under the FreeBSD license, same as libtcod.
29+
Read LICENSE.txt for more details.

setup.py

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def get_version():
2222
if ':' in revision:
2323
revision = revision.split(':')[-1]
2424
if 'M' in revision:
25-
revision = revision[:-1]
25+
revision = str(int(revision[:-1]) + 1)
2626
file = open('tdl/VERSION.txt', 'w')
2727
file.write(base_version + 'r' + revision)
2828
file.close()
@@ -38,23 +38,13 @@ def get_version():
3838
author='Kyle Stewart',
3939
author_email='4B796C65+pythonTDL@gmail.com',
4040
description='Pythonic port of rogue-like library libtcod.',
41-
long_description="""python-tdl is a ctypes port of "libtcod".
42-
43-
The library is used for displaying tilesets (ANSI, Unicode, or graphical) in true color.
44-
45-
It also provides functionality to compute path-finding and field of view.
46-
47-
python-tdl on GoogleCode: http://code.google.com/p/python-tdl/
48-
Online Documentation: http://pythonhosted.org/tdl/
49-
Issue Tracker: http://code.google.com/p/python-tdl/issues/list
50-
51-
libtcod: http://doryen.eptalys.net/libtcod/
52-
""",
41+
long_description=open('README.txt', 'r').read(),
5342
url='http://code.google.com/p/python-tdl/',
54-
download_url='http://code.google.com/p/python-tdl/downloads/list',
43+
download_url='https://pypi.python.org/pypi/tdl',
5544
packages=['tdl'],
56-
package_data={'tdl': ['lib/*.txt', '*.bmp', '*.png', 'lib/win32/*',
45+
package_data={'tdl': ['*.txt', 'lib/*.txt', '*.bmp', '*.png', 'lib/win32/*',
5746
'lib/darwin/*.dylib', 'lib/linux*/*']},
47+
install_requires=['ctypes'],
5848
classifiers=['Development Status :: 5 - Production/Stable',
5949
'Environment :: Win32 (MS Windows)',
6050
'Environment :: MacOS X',
@@ -68,12 +58,17 @@ def get_version():
6858
'Programming Language :: Python :: 2.6',
6959
'Programming Language :: Python :: 2.7',
7060
'Programming Language :: Python :: 3',
61+
'Programming Language :: Python :: 3.0',
62+
'Programming Language :: Python :: 3.1',
63+
'Programming Language :: Python :: 3.2',
64+
'Programming Language :: Python :: 3.3',
65+
'Programming Language :: Python :: Implementation :: CPython',
7166
'Programming Language :: Python :: Implementation :: PyPy',
7267
'Topic :: Games/Entertainment',
7368
'Topic :: Multimedia :: Graphics',
7469
'Topic :: Software Development :: Libraries :: Python Modules',
7570
],
76-
keywords = 'portable rogue-like rogue-likes text ctypes ASCII ANSI Unicode libtcod fov pathfinsing',
71+
keywords = 'portable rogue-like rogue-likes text ctypes ASCII ANSI Unicode libtcod fov',
7772
platforms = ['Windows', 'Mac OS X', 'Linux'],
7873
license = 'New BSD License'
7974
)

tdl/VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.6r79
1+
1.1.6r81

0 commit comments

Comments
 (0)