Search
j0ke.net Open Build Service
>
Projects
>
devel
:
python
>
python-setuptools
> python-setuptools.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python-setuptools.spec of Package python-setuptools (Revision 3)
Currently displaying revision
3
,
show latest
# norootforbuild %define _prefix /usr Name: python-setuptools Version: 0.6c8 Release: 1 Summary: Python setuptools Module Source: http://cheeseshop.python.org/packages/source/s/setuptools/setuptools-%{version}.tar.gz URL: http://cheeseshop.python.org/pypi/setuptools/ Group: Development/Libraries/Python License: Python License Packager: Carsten Schoene <cs@linux-administrator.com> BuildRoot: %{_tmppath}/build-%{name}-%{version} %py_requires Requires: python >= %{py_ver} BuildRequires: python-devel %description setuptools is a collection of enhancements to the Python distutils (for Python 2.3.5 and up on most platforms; 64-bit platforms require a minimum of Python 2.4) that allow you to more easily build and distribute Python packages, especially ones that have dependencies on other packages. Packages built and distributed using setuptools look to the user like ordinary Python packages based on the distutils. Your users don't need to install or even know about setuptools in order to use them, and you don't have to include the entire setuptools package in your distributions. By including just a single bootstrap module (an 8K .py file), your package will automatically download and install setuptools if the user is building your package from source and doesn't have a suitable version already installed. %prep %setup -q -n "setuptools-%{version}" %build %__python ./setup.py build %install %__python ./setup.py install \ --root="%{buildroot}" \ --prefix=%{_prefix} %clean [ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot} %files %defattr(-,root,root) %doc EasyInstall.txt %{_bindir}/easy_install* %{py_sitedir}/easy_install.* %{py_sitedir}/pkg_resources.* %{py_sitedir}/site.* %{py_sitedir}/setuptools/* %{py_sitedir}/setuptools-%{version}-py%{py_ver}.egg-info/* %changelog * Wed Sep 26 2007 Carsten Schoene <cs@linux-administrator.com> - initial build for SLES 10