forked from robotools/defconAppKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·45 lines (38 loc) · 1.08 KB
/
setup.py
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
#!/usr/bin/env python
import sys
from setuptools import setup
try:
import fontTools
except:
print("*** Warning: defcon requires FontTools, see:")
print(" fonttools.sf.net")
#if "sdist" in sys.argv:
# import os
# import subprocess
# import shutil
# docFolder = os.path.join(os.getcwd(), "documentation")
# # remove existing
# doctrees = os.path.join(docFolder, "build", "doctrees")
# if os.path.exists(doctrees):
# shutil.rmtree(doctrees)
# # compile
# p = subprocess.Popen(["make", "html"], cwd=docFolder)
# p.wait()
# # remove doctrees
# shutil.rmtree(doctrees)
setup(name="defconAppKit",
version="0.1",
description="A set of interface objects for working with font data.",
author="Tal Leming",
author_email="[email protected]",
url="https://github.com/typesupply/defconAppKit",
license="MIT",
packages=[
"defconAppKit",
"defconAppKit.controls",
"defconAppKit.representationFactories",
"defconAppKit.tools",
"defconAppKit.windows"
],
package_dir={"":"Lib"}
)