Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#367 closed task (fixed)

Provide separate packaging for build slave

Reported by: dfraser Owned by: dfraser
Priority: major Milestone: 0.6
Component: Build slave Version: dev
Keywords: package, setup Cc:
Operating System:

Description (last modified by dfraser)

Currently the build slave is packaged along with the rest of bitten. This introduces a whole host of dependencies like trac...

It would be great to have a simple package that only includes the modules that bitten.slave requires:

bitten.__init__
bitten.build.__init__
bitten.build.api
bitten.build.config
bitten.recipe
bitten.slave
bitten.tests.slave
bitten.util.__init__
bitten.util.testrunner
bitten.util.xmlio

This includes the tests, and has no external dependencies other than setuptools and pkg_resources, apart from bitten.util.testrunner optionally requiring coverage and figleaf

Attachments (0)

Change History (4)

comment:1 Changed 16 years ago by dfraser

  • Description modified (diff)
  • Status changed from new to assigned

After r584, the trac.test dependency is gone.

comment:2 Changed 16 years ago by dfraser

  • Resolution set to fixed
  • Status changed from assigned to closed

I've added an implementation of this that uses a separate setup-slave.py and MANIFEST-SLAVE.in in r585

Of course, due to the namespace clash you could never install this as well as Bitten, but it should provide a fairly easy way to set up slaves without requiring the other dependencies.

sdist and bdist_egg work, so closing this.

comment:3 follow-up: Changed 16 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

I had an error installing bitten slave r602 in Windows and setuptools-0.6c9-py2.6. When doing python setup-slave.py bdist_egg it raised the following exception:

Value Error?: path 'bitten/htdocs/' cannot end with '/'

I had to remove the extra slashes in MANIFEST-SLAVE.in for bitten/htdocs, bitten/templates, doc, and scripts. Then it installed without error.

comment:4 in reply to: ↑ 3 Changed 16 years ago by dfraser

  • Resolution set to fixed
  • Status changed from reopened to closed

Replying to anonymous:

I had an error installing bitten slave r602 in Windows and setuptools-0.6c9-py2.6. When doing python setup-slave.py bdist_egg it raised the following exception:

Value Error?: path 'bitten/htdocs/' cannot end with '/'

I had to remove the extra slashes in MANIFEST-SLAVE.in for bitten/htdocs, bitten/templates, doc, and scripts. Then it installed without error.

Thanks for the feedback, committed this fix in r618 - reopen if I got it wrong.

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain dfraser.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.