File: setup.py

package info (click to toggle)
libtpclient-py 0.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 444 kB
  • ctags: 849
  • sloc: python: 5,260; makefile: 49
file content (46 lines) | stat: -rwxr-xr-x 1,175 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/usr/bin/env python

import sys

try:
	del sys.argv[sys.argv.index('--ignore-deps')]
	print "Ignoring dependencies..."
except ValueError:
	import pkg_resources
	pkg_resources.require('libtpproto-py')

from tp.client import __version__
version = "%s.%s.%s" % __version__[0:3]

from setuptools import setup

setup(
	name		="libtpclient-py",
	version		=version,
	license		="GPL",
	description	="Client support library for Thousand Parsec",
	long_description="""\
A library of code to support quick development of Clients for Thousand Parsec.

Includes support for:
	* Classes of keeping a download cache of the universe (including automatic
 update)
	* Classes for parsing and calculating tpcl 
	* Threading support
""",
	author		="Tim Ansell",
	author_email="tim@thousandparsec.net",
	url			="http://www.thousandparsec.net",
	keywords	="thousand parsec space client support empire building strategy game tpcl scheme",

	namespace_packages = ['tp'],
	packages=[ \
		'tp',
		'tp.client',
		'tp.client.pyscheme',
	],
	zip_safe=False,

	include_patckage_data = True,
	package_data = { 'tp.client': ['singleplayer/*.dtd', 'singleplayer/aiclients/*', 'singleplayer/servers/*'] }
)