| 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 |
setup.py - installation script for Python distutils |
|---|
| 26 |
""" |
|---|
| 27 |
|
|---|
| 28 |
import sys |
|---|
| 29 |
|
|---|
| 30 |
from distutils import core |
|---|
| 31 |
from distutils import sysconfig |
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 |
_name = "websourcebrowser" |
|---|
| 35 |
_package = "websourcebrowser" |
|---|
| 36 |
_version = "0.3.1" |
|---|
| 37 |
_data_target = "%s/%s" % (sysconfig.get_python_lib(), _package) |
|---|
| 38 |
|
|---|
| 39 |
if sys.platform == "win32": |
|---|
| 40 |
scripts = ["scripts/wsbrowser.py"] |
|---|
| 41 |
else: |
|---|
| 42 |
scripts = ["scripts/wsbrowser"] |
|---|
| 43 |
|
|---|
| 44 |
core.setup( |
|---|
| 45 |
|
|---|
| 46 |
name=_name, |
|---|
| 47 |
version=_version, |
|---|
| 48 |
packages=[_package], |
|---|
| 49 |
package_dir={_package: ""}, |
|---|
| 50 |
scripts=scripts, |
|---|
| 51 |
data_files=[(_data_target, ["websourcebrowser.css", |
|---|
| 52 |
"README.txt", "README.html"])], |
|---|
| 53 |
|
|---|
| 54 |
author="Stefan Schwarzer", |
|---|
| 55 |
author_email="sschwarzer@sschwarzer.net", |
|---|
| 56 |
url="http://websourcebrowser.sschwarzer.net/", |
|---|
| 57 |
description="A program to quickly browse unknown project source files", |
|---|
| 58 |
keywords="Source code, browser, web frontend, local, remote", |
|---|
| 59 |
license="Open source (MIT license)", |
|---|
| 60 |
platforms=["Pure Python (Python version >= 2.3)"], |
|---|
| 61 |
long_description="""\ |
|---|
| 62 |
Websourcebrowser makes it easy to visually scan trees of source |
|---|
| 63 |
code. In particular, you can view the directory tree and the source |
|---|
| 64 |
code of a file side by side, so you can quickly change to a different |
|---|
| 65 |
file.""", |
|---|
| 66 |
download_url= |
|---|
| 67 |
"http://websourcebrowser.sschwarzer.net/trac/attachment/wiki/Download/%s-%s.tar.gz?format=raw" % |
|---|
| 68 |
(_name, _version), |
|---|
| 69 |
classifiers=[ |
|---|
| 70 |
"Development Status :: 3 - Alpha", |
|---|
| 71 |
"Environment :: Web Environment", |
|---|
| 72 |
"Intended Audience :: Developers", |
|---|
| 73 |
"Intended Audience :: End Users/Desktop", |
|---|
| 74 |
"Intended Audience :: System Administrators", |
|---|
| 75 |
"License :: OSI Approved :: MIT License", |
|---|
| 76 |
"Natural Language :: English", |
|---|
| 77 |
"Operating System :: OS Independent", |
|---|
| 78 |
"Programming Language :: Python", |
|---|
| 79 |
|
|---|
| 80 |
|
|---|
| 81 |
"Topic :: Desktop Environment :: File Managers", |
|---|
| 82 |
"Topic :: Software Development", |
|---|
| 83 |
"Topic :: Utilities", |
|---|
| 84 |
] |
|---|
| 85 |
) |
|---|
| 86 |
|
|---|