Opened 10 years ago

Closed 10 years ago

#439 closed enhancement (fixed)

Setup Command To Test Source Distribution

Reported by: ashcrow Owned by: ashcrow
Priority: major Milestone: 0.7.11
Version: 0.7.10 Keywords:
Cc:

Description

After looking at why I missed putting the package items in setup.py I realized I had only checked unittests in the source tree and not in the source distribution. Adding a setup.py command to create a source dist, then run unittests with that source distribution would be handy for verifying before releases. It should work something like this:

$ python setup.py test
# creates an sdist
# explodes the archived the sdist
# runs unittests inside the exploded sdist

Change History (3)

comment:1 Changed 10 years ago by ashcrow

  • Status changed from new to assigned
$ python setup.py --help-commands
<snip>
  sdist_test        Run unittests from inside an sdist distribution
  test              Run unittests inline
</snip>

comment:3 Changed 10 years ago by dustin

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

cool! merged..

Note: See TracTickets for help on using tickets.