aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
blob: a85ba77aa934fcf3acabc6bf7d2be8858185afd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/env python
# import sys
from setuptools import setup

try:
    import fontTools  # noqa
except:
    print("*** Warning: trufont requires fontTools, see:")
    print("    https://github.com/behdad/fonttools/")

try:
    import ufoLib  # noqa
except:
    print("*** Warning: trufont requires ufoLib, see:")
    print("    https://github.com/unified-font-object/ufoLib")

try:
    import defcon  # noqa
except:
    print("*** Warning: trufont requires defcon (the python3-ufo3 branch), "
          "see:")
    print("    https://github.com/trufont/defcon")

setup(
    name="defconQt",
    version="0.3.0",
    description="TruFont, a cross-platform font editor. Includes a set of Qt "
                "objects for working with font data.",
    author="Adrien Tétar",
    author_email="adri-from-59@hotmail.fr",
    url="http://trufont.github.io",
    license="GNU LGPL 2.1/GNU GPL v3",
    packages=[
        "defconQt",
        "defconQt.objects",
        "defconQt.representationFactories",
        "defconQt.tools",
        "defconQt.util",
    ],
    entry_points={
        "gui_scripts": [
            "trufont =  defconQt.__main__:main"
        ]
    },
    package_dir={"": "Lib"},
    platforms=["Linux", "Win32", "Mac OS X"],
    classifiers=[
        "Environment :: GUI",
        "Programming Language :: Python :: 3.4",
        "Intended Audience :: Developers",
        "Topic :: Text Processing :: Fonts",
    ],
    test_suite="tests",
)