File: setup.py

package info (click to toggle)
squaremap 1:1.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 100 kB
  • sloc: python: 470; makefile: 2
file content (60 lines) | stat: -rw-r--r-- 1,627 bytes parent folder | download | duplicates (2)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/usr/bin/env python
"""Installs SquareMap using distutils

Run:
	python setup.py install
to install the package from the source archive.
"""
import os
try:
    from setuptools import setup
except ImportError, err:
    from distutils.core import setup

version = [
    (line.split('=')[1]).strip().strip('"').strip("'")
    for line in open(os.path.join('squaremap','__init__.py'))
    if line.startswith( '__version__' )
][0]

if __name__ == "__main__":
	extraArguments = {
		'classifiers': [
			"""License :: OSI Approved :: BSD License""",
			"""Programming Language :: Python""",
			"""Topic :: Software Development :: Libraries :: Python Modules""",
			"""Intended Audience :: Developers""",
		],
		'keywords': 'wxPython,squaremap',
		'long_description' : """Hierarchic visualization control for wxPython 

Hierarchic data visualization control intended for use with 
structures where "parents" hold collections of weighted children.

Can be used for viewing sizes of directories on file-systems,
running-time of functions in profiling, or time spent on tasks 
in a time-tracking application.""",
		'platforms': ['Any'],
	}
	### Now the actual set up call
	setup (
		name = "SquareMap",
		version = version,
		url = "https://launchpad.net/squaremap",
		description = "Hierarchic data-visualisation control for wxPython",
		author = "Mike C. Fletcher",
		author_email = "mcfletch@vrplumber.com",
		license = "BSD",
		package_dir = {
			'squaremap':'squaremap',
		},
		packages = [
			'squaremap',
		],
		options = {
			'sdist':{'force_manifest':1,'formats':['gztar','zip'],},
		},
		zip_safe=False,
		**extraArguments
	)