mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fixes for scrambling python-daemon and pysam.
This commit is contained in:
@@ -96,5 +96,6 @@ noplatform = py2.4 py2.5 py2.6
|
||||
; don't build these eggs on these platforms:
|
||||
[ignore]
|
||||
GeneTrack = py2.4
|
||||
python-daemon = py2.4
|
||||
pysam = py2.4-solaris-2.8-sun4u_32-ucs2 py2.5-solaris-2.8-sun4u_32-ucs2 py2.6-solaris-2.8-sun4u_32-ucs2 py2.4-solaris-2.8-sun4u_64-ucs2 py2.5-solaris-2.8-sun4u_64-ucs2 py2.6-solaris-2.8-sun4u_64-ucs2
|
||||
ctypes = py2.5-linux-i686-ucs2 py2.5-linux-i686-ucs4 py2.6-linux-i686-ucs2 py2.6-linux-i686-ucs4 py2.5-linux-x86_64-ucs2 py2.5-linux-x86_64-ucs4 py2.6-linux-x86_64-ucs2 py2.6-linux-x86_64-ucs4 py2.5-macosx-10.3-fat-ucs2 py2.6-macosx-10.3-fat-ucs2 py2.6-macosx-10.6-universal-ucs2 py2.5-solaris-2.10-i86pc_32-ucs2 py2.6-solaris-2.10-i86pc_32-ucs2 py2.5-solaris-2.10-i86pc_64-ucs2 py2.6-solaris-2.10-i86pc_64-ucs2 py2.5-solaris-2.8-sun4u_32-ucs2 py2.6-solaris-2.8-sun4u_32-ucs2 py2.5-solaris-2.8-sun4u_64-ucs2 py2.6-solaris-2.8-sun4u_64-ucs2
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# setup.py
|
||||
# Part of python-daemon, an implementation of PEP 3143.
|
||||
#
|
||||
# Copyright © 2008–2010 Ben Finney <ben+python@benfinney.id.au>
|
||||
# Copyright © 2008 Robert Niederreiter, Jens Klein
|
||||
#
|
||||
# This is free software: you may copy, modify, and/or distribute this work
|
||||
# under the terms of the Python Software Foundation License, version 2 or
|
||||
# later as published by the Python Software Foundation.
|
||||
# No warranty expressed or implied. See the file LICENSE.PSF-2 for details.
|
||||
|
||||
""" Distribution setup for python-daemon library.
|
||||
"""
|
||||
|
||||
import textwrap
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
distribution_name = "python-daemon"
|
||||
main_module_name = 'daemon'
|
||||
main_module = __import__(main_module_name, fromlist=['version'])
|
||||
version = main_module.version
|
||||
|
||||
short_description, long_description = (
|
||||
textwrap.dedent(d).strip()
|
||||
for d in main_module.__doc__.split(u'\n\n', 1)
|
||||
)
|
||||
|
||||
|
||||
setup(
|
||||
name=distribution_name,
|
||||
version=version.version,
|
||||
packages=find_packages(exclude=["test"]),
|
||||
|
||||
# setuptools metadata
|
||||
zip_safe=False,
|
||||
test_suite="test.suite",
|
||||
tests_require=[
|
||||
"MiniMock >=1.2.2",
|
||||
],
|
||||
install_requires=[
|
||||
#"setuptools",
|
||||
#"lockfile >=0.7",
|
||||
],
|
||||
|
||||
# PyPI metadata
|
||||
author=version.author_name,
|
||||
author_email=version.author_email,
|
||||
description=short_description,
|
||||
license=version.license,
|
||||
keywords=u"daemon fork unix".split(),
|
||||
url=main_module._url,
|
||||
long_description=long_description,
|
||||
classifiers=[
|
||||
# Reference: http://pypi.python.org/pypi?%3Aaction=list_classifiers
|
||||
"Development Status :: 4 - Beta",
|
||||
"License :: OSI Approved :: Python Software Foundation License",
|
||||
"Operating System :: POSIX",
|
||||
"Programming Language :: Python",
|
||||
"Intended Audience :: Developers",
|
||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||
],
|
||||
)
|
||||
@@ -24,6 +24,7 @@ sys.argv.append( "bdist_egg" )
|
||||
cc = get_solaris_compiler()
|
||||
if cc == 'cc':
|
||||
os.environ['CFLAGS'] = '-xc99=all'
|
||||
os.environ['LDFLAGS'] = '-lsocket -lnsl'
|
||||
|
||||
# do it
|
||||
execfile( "setup.py", globals(), locals() )
|
||||
|
||||
Reference in New Issue
Block a user