Merge lp:~andrea.corbellini/beeseek/node-setup.py into lp:beeseek

Proposed by Andrea Corbellini
Status: Merged
Merged at revision: 40
Proposed branch: lp:~andrea.corbellini/beeseek/node-setup.py
Merge into: lp:beeseek
Diff against target: 72 lines (+40/-3)
3 files modified
.bzrignore (+1/-0)
node/Makefile (+8/-3)
node/setup.py (+31/-0)
To merge this branch: bzr merge lp:~andrea.corbellini/beeseek/node-setup.py
Reviewer Review Type Date Requested Status
Andrea Colangelo Approve
Lorenzo Allegrucci Approve
Review via email: mp+29535@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Lorenzo Allegrucci (l-allegrucci) wrote :

ok for me

review: Approve
Revision history for this message
Andrea Colangelo (warp10) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '.bzrignore'
2--- .bzrignore 2010-07-08 07:22:54 +0000
3+++ .bzrignore 2010-07-09 11:01:17 +0000
4@@ -1,2 +1,3 @@
5 node/beeseek/_version_info.py
6+node/build/
7 trackers/sniffer/beeseek-sniffer
8
9=== modified file 'node/Makefile'
10--- node/Makefile 2010-07-08 07:15:39 +0000
11+++ node/Makefile 2010-07-09 11:01:17 +0000
12@@ -1,16 +1,21 @@
13 # Copyright 2010 BeeSeek Developers. This software is licensed under the
14 # GNU Affero General Public License version 3 (see the file LICENSE).
15
16-build: version-info
17-version-info: beeseek/_version_info.py
18+build: beeseek/_version_info.py
19+ python setup.py build
20+
21 beeseek/_version_info.py:
22 bzr version-info --python > beeseek/_version_info.py
23
24-check: build
25+install: build
26+ python setup.py install
27+
28+check:
29 python ../tools/test-node.py
30
31 full-check: check
32 python ../tools/test-node-windmill.py
33
34 clean:
35+ python setup.py clean
36 rm -f beeseek/_version_info.py
37
38=== added file 'node/setup.py'
39--- node/setup.py 1970-01-01 00:00:00 +0000
40+++ node/setup.py 2010-07-09 11:01:17 +0000
41@@ -0,0 +1,31 @@
42+#!/usr/bin/python
43+# Copyright 2010 BeeSeek Developers. This software is licensed under the
44+# GNU Affero General Public License version 3 (see the file LICENSE).
45+
46+import os.path
47+from distutils.core import setup
48+from beeseek.version import program_version, format_version_full
49+
50+setup(
51+ name='BeeSeek Node',
52+ version=format_version_full(program_version),
53+ author='BeeSeek Developers',
54+ author_email='feedback@beeseek.org',
55+ url='http://www.beeseek.org/',
56+ description='Share data in the BeeSeek network',
57+ long_description=
58+ 'The node is the component of BeeSeek that stores a piece of\n'
59+ 'database and shares it with other peers in the network.\n',
60+ download_url='https://launchpad.net/beeseek/+download',
61+ classifiers=[
62+ 'Development Status :: 1 - Planning',
63+ 'Environment :: Web Environment',
64+ 'Framework :: Django',
65+ 'Intended Audience :: End Users/Desktop',
66+ 'License :: OSI Approved :: GNU Affero General Public License v3',
67+ 'Operating System :: OS Independent',
68+ 'Topic :: Internet :: WWW/HTTP :: Indexing/Search'],
69+ packages=[
70+ path for path, _, files in os.walk('beeseek')
71+ if '__init__.py' in files],
72+ scripts=['beeseek-node'])

Subscribers

People subscribed via source and target branches