* Re: [gentoo-portage-dev] [PATCH 5/6] Install Python modules using setup.py
@ 2014-08-22 22:55 99% ` Michał Górny
0 siblings, 0 replies; 1+ results
From: Michał Górny @ 2014-08-22 22:55 UTC (permalink / raw
To: Brian Dolbec; +Cc: gentoo-portage-dev
[-- Attachment #1: Type: text/plain, Size: 2022 bytes --]
Dnia 2014-08-22, o godz. 15:30:15
Brian Dolbec <dolsen@gentoo.org> napisał(a):
> 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?
Left it in my todo and forgot about it. Which also makes me think that
we may want to try to get 'setup.py sdist' working as well, and rethink
how much we need mkrelease.sh afterwards.
--
Best regards,
Michał Górny
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 949 bytes --]
^ 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 ` Brian Dolbec
2014-08-22 22:55 99% ` Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox