* Re: [gentoo-portage-dev] [PATCH 5/6] Install Python modules using setup.py
@ 2014-08-22 22:30 99% ` Brian Dolbec
0 siblings, 0 replies; 1+ results
From: Brian Dolbec @ 2014-08-22 22:30 UTC (permalink / raw
To: gentoo-portage-dev
On Thu, 21 Aug 2014 22:19:43 +0200
Michał Górny <mgorny@gentoo.org> wrote:
> ---
> .gitignore | 1 +
> Makefile | 215 --------------------
> doc/Makefile | 11 -
> pym/portage/const.py | 4 +-
> setup.py | 557
> +++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed,
> 560 insertions(+), 228 deletions(-) delete mode 100644 Makefile
> delete mode 100644 doc/Makefile
> create mode 100755 setup.py
> diff --git a/setup.py b/setup.py new file mode 100755
> index 0000000..bd6e506 --- /dev/null
> +++ b/setup.py
> @@ -0,0 +1,557 @@
> +#!/usr/bin/env python
> +# vim:fileencoding=utf-8
> +# (c) 2010 Michał Górny <mgorny@gentoo.org>
> +# Released under the terms of the 2-clause BSD license.
> +
> +from distutils.core import setup, Command
> +from distutils.command.build_scripts import build_scripts
> +from distutils.command.clean import clean
> +from distutils.command.install import install
> +from distutils.command.install_data import install_data
> +from distutils.command.install_lib import install_lib
> +from distutils.command.install_scripts import install_scripts
> +from distutils.dir_util import remove_tree
> +from distutils.util import change_root, subst_vars
> +
> +import codecs, collections, glob, os, os.path, re, subprocess, sys
> +
> +# TODO:
> +# - smarter rebuilds of docs w/ 'install_docbook' and
> 'install_epydoc'. +
> +package_name = 'portage'
> +package_version = '2.2.12'
Why hard code the version? can you not import it? or did you add this
to the sed list in mkrelease.sh?
--
Brian Dolbec <dolsen>
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2014-08-21 20:19 [gentoo-portage-dev] [PATCHES] setup.py install for Portage Michał Górny
2014-08-21 20:19 ` [gentoo-portage-dev] [PATCH 5/6] Install Python modules using setup.py Michał Górny
2014-08-22 22:30 99% ` Brian Dolbec
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox