~ubuntu-branches/ubuntu/trusty/python-networkx/trusty-proposed

« back to all changes in this revision

Viewing changes to setup_egg.py

  • Committer: Bazaar Package Importer
  • Author(s): Sandro Tosi
  • Date: 2010-12-10 23:50:27 UTC
  • mfrom: (1.2.4 upstream) (5.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20101210235027-b2supdwo0ad39d3s
Tags: 1.3-1
* New upstream release
* debian/patches/changeset_r1745.diff
  - dropped, available in upstream release
* debian/patches/10_doc_relocation
  - refreshed patch for new upstream code
* debian/control
  - upstream code is now compatible with 2.6 or later only
  - bump Standards-Version to 3.9.1 (no changes needed)
* debian/{control, rules}
  - run unittests at build time, b-d on python-nose added
* debian/copyright
  - removed reference to /usr/share/common-licenses/BSD
* Create a -doc package ; thanks to Yaroslav Halchenko for the report;
  Closes: #567369
  - (d/control) define a new binary package, and add depends on sphinx (>= 1)
  - (d/rules) build documentation, install it into the new -doc package
  - (d/patches/30_use_local_objects.inv) use local copy of remote objects.inv
* debian/{control, rules}
  - moved to dh7 and "reduced" rules file
* debian/rules
  - refer to built code when building doc
* debian/python-networkx-doc.doc-base
  - added doc-base information
* debian/patches/40_add_networkxcss
  - added as patch, since networkx.css is missing from the tarball, but needed
    to display properly HTML documentation
* debian/patches/50_boundary-test-fix.patch
  - upstream patch to restrict node boundary test cases to valid range
* debian/patches/60_remove_svn_refs.diff
  - upstream patch to remove references to old SVN repository (now Mercurial)
* debian/patches/70_set_matplotlib_ps_backend.patch
  - set matplotlib backend to 'PS', so a DISPLAY it's not required and the
    tests can be run in a "reduced" environment

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
#!/usr/bin/env python
3
3
"""
4
 
An alternate setup.py script for setuptools.
 
4
An alternate setup.py script that uses setuptools.
 
5
 
 
6
You can install networkx with
 
7
 
 
8
python setup_egg.py install
5
9
 
6
10
If you have setuptools and run this as 
7
11
 
8
 
>>> python setup_egg.py bdist_egg
 
12
python setup_egg.py bdist_egg
9
13
 
10
14
you will get a Python egg.
11
15
 
12
16
Use
13
17
 
14
 
>>> python setup_egg.py nosetests
 
18
python setup_egg.py nosetests
15
19
 
16
20
to run the tests.
17
21
 
46
50
        package_data     = package_data,
47
51
        install_requires=['setuptools'],
48
52
        test_suite       = 'nose.collector', 
49
 
        tests_require    = ['nose >= 0.10.1','networkx-nose-plugin>=0.1'] ,
50
 
        zip_safe = True
 
53
        tests_require    = ['nose >= 0.10.1'] ,
 
54
        zip_safe = False
51
55
      )
52
56
 
53
57