1. Manfred Moitzi
  2. svgwrite

Commits

Manfred Moitzi  committed 1f913e9

release 1.0.1

  • Participants
  • Parent commits 131b457
  • Branches default
  • Tags 1.0.1

Comments (0)

Files changed (4)

File MANIFEST.in

View file
 include NEWS.TXT README.TXT LICENSE.TXT
 include runtests.bat
-recursive-include examples *.py *.bat *.sh
+recursive-include examples *.py *.bat *.sh *.txt
 recursive-include tests *.py

File NEWS.TXT

View file
 NEWS
 ====
 
-Version 1.0.1 - ...
+Version 1.0.1 - 08.06.2012
+
   * added inline stylesheets
+  * added examples created by Lawrence Tattrie
 
 Version 1.0.0 - 27 May 2012
+
   * stable
   * tested with CPython 2.7, CPython 3.2, pypy-1.8
   * added script tag - thx to jmahmood

File README.TXT

View file
 
     python setup.py install
 
-Tests
-=====
-
-run tests with **nosetests** or with Python 2.7::
-
-    python -m unittest discover -s tests
-
-on Windows & Python 2.7::
-
-    runtests.bat
 
 Documentation
 =============
 
-http://packages.python.org/svgwrite
-http://readthedocs.org/docs/svgwrite/
+  * http://packages.python.org/svgwrite
+  * http://readthedocs.org/docs/svgwrite/
 
 send feedback to mozman@gmx.at
 

File examples/ltattrie/xkcd_colour_data_svgwrite_3.py

View file
 PROGNAME = sys.argv[0].rstrip('.py')
 RGB_TXT = 'rgb.txt'
 
-print("program %s started." % PROGNAME)
-
 # To Do
 #   Automate the file name and title and axis swatch_y
 #   Create multiple layers and put the third component divided into 10 layers?
         tx_y = int(swatch_y + swatch_h/2)
         group_rec_text.add(dwg.text(colour_item[0], insert = (tx_x, tx_y),
             font_family="sans-serif", font_size='6px', fill='white', stroke='black', stroke_width='0.1px'))
-    print("line_count %d" % line_count)
     dwg.save()
 
 if __name__ == '__main__':
     create_svg(PROGNAME + '_hl.svg')
-print  ('program %s ended. ' % PROGNAME)
 
 # vim: expandtab shiftwidth=4 tabstop=8 softtabstop=4 textwidth=99