Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
slapos.buildout
Commits
e1e0e04c
Commit
e1e0e04c
authored
Jun 29, 2006
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finished renaming distribution to eggs and improving setup meta data.
parent
362f89a9
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
10 deletions
+21
-10
zc.recipe.egg_/README.txt
zc.recipe.egg_/README.txt
+8
-0
zc.recipe.egg_/setup.cfg
zc.recipe.egg_/setup.cfg
+0
-2
zc.recipe.egg_/setup.py
zc.recipe.egg_/setup.py
+6
-5
zc.recipe.egg_/src/zc/recipe/egg/egg.py
zc.recipe.egg_/src/zc/recipe/egg/egg.py
+5
-1
zc.recipe.egg_/src/zc/recipe/egg/selecting-python.txt
zc.recipe.egg_/src/zc/recipe/egg/selecting-python.txt
+2
-2
No files found.
zc.recipe.egg_/README.txt
View file @
e1e0e04c
...
...
@@ -42,3 +42,11 @@ To do
- More control over script generation. In particular, some way to
specify data t be recored in the script.
- Honor the buildout offline option.
- Windows suppprt
- Generate exe files
- Make sure tests work under windows
zc.recipe.egg_/setup.cfg
deleted
100644 → 0
View file @
362f89a9
[egg_info]
tag_svn_revision = 1
zc.recipe.egg_/setup.py
View file @
e1e0e04c
from
setuptools
import
setup
,
find_packages
name
=
"zc.recipe.egg"
,
setup
(
name
=
"
zc.recipe.egg
"
,
version
=
"1.0.
dev
"
,
name
=
"
name
"
,
version
=
"1.0.
0a1
"
,
author
=
"Jim Fulton"
,
author_email
=
"jim@zope.com"
,
description
=
"Recipe for installing Python package distributions as eggs"
,
long_description
=
open
(
'README.txt'
).
read
(),
license
=
"ZPL 2.1"
,
keywords
=
"development build"
,
url
=
'http://svn.zope.org/zc.buildout'
,
download_url
=
'http://download.zope.org/distribution'
,
packages
=
find_packages
(
'src'
),
include_package_data
=
True
,
...
...
@@ -17,6 +19,5 @@ setup(
namespace_packages
=
[
'zc'
,
'zc.recipe'
],
install_requires
=
[
'zc.buildout'
,
'setuptools'
],
tests_require
=
[
'zope.testing'
],
test_suite
=
'zc.recipe.eggs.tests.test_suite'
,
entry_points
=
{
'zc.buildout'
:
[
'default = zc.recipe.egg:Egg'
]},
entry_points
=
{
'zc.buildout'
:
[
'default = %s:Egg'
%
name
]},
)
zc.recipe.egg_/src/zc/recipe/egg/egg.py
View file @
e1e0e04c
...
...
@@ -53,6 +53,8 @@ class Egg:
This is intended for reuse by similar recipes.
"""
options
=
self
.
options
distributions
=
[
r
.
strip
()
for
r
in
options
.
get
(
'eggs'
,
self
.
name
).
split
(
'
\
n
'
)
...
...
@@ -67,8 +69,10 @@ class Egg:
path
=
[
options
[
'_d'
]]
)
return
distributions
,
ws
def
install
(
self
):
ws
=
self
.
working_set
()
distributions
,
ws
=
self
.
working_set
()
options
=
self
.
options
scripts
=
options
.
get
(
'scripts'
)
...
...
zc.recipe.egg_/src/zc/recipe/egg/selecting-python.txt
View file @
e1e0e04c
...
...
@@ -39,7 +39,7 @@ install the demo package using Python 2.3.
...
... [demo]
... recipe = zc.recipe.egg
...
distribution
= demo <0.3
...
eggs
= demo <0.3
... find-links = %(server)s
... index = %(server)s/index
... python = python2.3
...
...
@@ -117,7 +117,7 @@ If we change the Python version to 2.4, we'll use Python 2.4 eggs:
...
... [demo]
... recipe = zc.recipe.egg
...
distribution
= demo <0.3
...
eggs
= demo <0.3
... find-links = %(server)s
... index = %(server)s/index
... python = python2.4
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment