diff options
| author | Nicolas Spalinger | 2015-10-22 14:29:13 -0500 | 
|---|---|---|
| committer | Nicolas Spalinger | 2015-10-22 14:29:13 -0500 | 
| commit | cca8045fd28653115953dcc7412826fd4387d913 (patch) | |
| tree | 7de63bd9af91741d6d4836d460da37205eb4ac63 /setup.py | |
| parent | 185ce35321d4163f64d85a20fb840134115c597c (diff) | |
| download | trufont-cca8045fd28653115953dcc7412826fd4387d913.tar.bz2 | |
Modified setup.py and __main.py__ for Windows users.
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 16 | 
1 files changed, 11 insertions, 5 deletions
| @@ -1,6 +1,8 @@  #!/usr/bin/env python +# -*- coding: utf-8 -*-  # import sys -from distutils.core import setup + +from setuptools import setup  try:      import fontTools  # noqa @@ -11,13 +13,13 @@ except:  try:      import robofab  # noqa  except: -    print("*** Warning: trufont requires RoboFab, see:") +    print("*** Warning: trufont requires RoboFab (the python3-ufo3 branch), see:")      print("    https://github.com/trufont/robofab")  try: -    import defcon #noqa +    import defcon # noqa  except: -    print("*** Warning: trufont requires defcon, see:") +    print("*** Warning: trufont requires defcon (the python3-ufo3 branch), see:")      print("    https://github.com/trufont/defcon")  # if "sdist" in sys.argv: @@ -51,7 +53,11 @@ setup(          "defconQt.representationFactories",          "defconQt.util",      ], -    scripts=["trufont"], +    entry_points={ +       'gui_scripts': [ +            "trufont =  defconQt.__main__:main" +            ] +        },      package_dir={"": "Lib"},      platforms=["Linux","Win32","Mac OS X"],      classifiers=[ | 
