forked from TheHeadlessSourceMan/virtualPrinter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (38 loc) · 1.34 KB
/
Copy pathsetup.py
File metadata and controls
42 lines (38 loc) · 1.34 KB
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
# 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='virtualPrinter'
version='1.0'
description='This library allows you to create and register a virtual printer using python to process anything the user prints'
packages=[name]
package_data={ # add all files for a package
name:[]
}
package_dir={name:here}
distclass=BinaryDistribution
setup(
name=name,
version=version,
description=description,
author='kurt',
author_email='TheHeadlesSourceMan@gmail.com',
url='https://github.com/TheHeadlessSourceMan/virtualPrinter',
download_url='https://github.com/TheHeadlessSourceMan/virtualPrinter/archive/1.0.tar.gz',
keywords=['printer','windows','virtual printer'],
packages=packages,
package_dir=package_dir,
package_data=package_data,
distclass=distclass)