-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
30 lines (26 loc) · 1.04 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
# This is the setup info for the python installer.
# You probably don't need to do anything with it directly.
# Just run make and it will be used to create a distributable package
# for more info on how this works, see:
# http://wheel.readthedocs.org/en/latest/
# and/or
# http://pythonwheels.com
from setuptools import setup, Distribution
class BinaryDistribution(Distribution):
def is_pure(self):
return True # return False if there is OS-specific files
if __name__ == '__main__':
import sys
import os
here=os.path.dirname(os.path.realpath( __file__ ))
sys.path.append(here)
name='tkSysModal'
version='1.0'
description='This allows you to create a windows system-modal dialog using tkinter\n(For instance, like the UAC dialog)'
packages=[name]
package_data={ # add all files for a package
name:[]
}
package_dir={name:here}
distclass=BinaryDistribution
setup(name=name,version=version,description=description,packages=packages,package_dir=package_dir,package_data=package_data,distclass=distclass)