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
|
#!/usr/bin/env python
#
# Pyro setup script
#
try:
# try setuptools first to be able to use the upload_sphinx command
from setuptools import setup
except ImportError:
from distutils.core import setup
import sys,os,glob
import sets
if __name__ == '__main__' :
scripts=sets.Set(glob.glob("bin/pyro-*.cmd"))
if sys.platform != 'win32':
scripts=sets.Set(glob.glob("bin/pyro-*")) - scripts
# extract version string from Pyro/constants.py
code=compile(open(os.path.join('Pyro','constants.py')).read(), "constants", "exec")
constants={}
exec code in constants
version=constants["VERSION"]
print 'Pyro Version =',version
setup(name="Pyro",
version= version,
license="MIT",
description = "distributed object middleware for Python (IPC/RPC), version 3.x",
long_description = """Pyro stands for PYthon Remote Objects. It is an advanced and powerful Distributed Object Technology system written entirely in Python, that is designed to be very easy to use.
This is version 3.x of Pyro, which is deprecated. It only gets bugfixes.
For the current version with new features, look at `Pyro4 </pypi/Pyro4>`_ instead.""",
author = "Irmen de Jong",
author_email="irmen@razorvine.net",
keywords="distributed objects, middleware, network communication, DOT, RMI, IPC",
url = "http://irmen.home.xs4all.nl/pyro3/",
packages=['Pyro','Pyro.EventService','Pyro.ext','Pyro.test'],
scripts = list(scripts),
platforms="any",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Development Status :: 6 - Mature",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Topic :: Software Development :: Object Brokering",
"Topic :: System :: Distributed Computing",
"Topic :: System :: Networking"
]
)
|