diff options
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 31 | 
1 files changed, 16 insertions, 15 deletions
| @@ -1,7 +1,5 @@  #!/usr/bin/env python -# -*- coding: utf-8 -*-  # import sys -  from setuptools import setup  try: @@ -13,13 +11,15 @@ except:  try:      import robofab  # noqa  except: -    print("*** Warning: trufont requires RoboFab (the python3-ufo3 branch), 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 (the python3-ufo3 branch), see:") +    print("*** Warning: trufont requires defcon (the python3-ufo3 branch), " +          "see:")      print("    https://github.com/trufont/defcon")  # if "sdist" in sys.argv: @@ -37,11 +37,11 @@ except:  #    # remove doctrees  #    shutil.rmtree(doctrees) -  setup(      name="defconQt",      version="0.1.0", -    description="Trufont, a cross-platform font editor (a set of Qt interface objects for working with font data).", +    description="Trufont, a cross-platform font editor (a set of Qt interface " +                "objects for working with font data).",      author="Adrien Tétar",      author_email="adri-from-59@hotmail.fr",      url="http://trufont.github.io", @@ -54,16 +54,17 @@ setup(          "defconQt.util",      ],      entry_points={ -       'gui_scripts': [ +        "gui_scripts": [              "trufont =  defconQt.__main__:main" -            ] -        }, +        ] +    },      package_dir={"": "Lib"}, -    platforms=["Linux","Win32","Mac OS X"], +    platforms=["Linux", "Win32", "Mac OS X"],      classifiers=[ -    "Environment :: GUI", -    "Programming Language :: Python :: 3.4", -    "Intended Audience :: Developers", -    "Topic :: Text Processing :: Fonts", +        "Environment :: GUI", +        "Programming Language :: Python :: 3.4", +        "Intended Audience :: Developers", +        "Topic :: Text Processing :: Fonts",      ], +    test_suite="tests",  ) | 
