forked from wdas/reposado
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
65 lines (62 loc) · 2.1 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import os
import sys
from distutils.core import setup
if sys.platform == 'win32':
import py2exe
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
if sys.platform == 'win32':
setup(
name = "reposado",
version = "git",
author = "Greg Neagle",
author_email = "[email protected]",
maintainer = "Brent B",
maintainer_email = "[email protected]",
description = ("Host Apple Software Updates on the hardware and OS of your choice."),
license = "BSD",
keywords = "apple software update repository",
url = "https://github.com/wdas/reposado",
packages=['reposadolib'],
package_dir={'reposadolib': 'code/reposadolib'},
scripts=["code/repo_sync","code/repoutil"],
long_description=read('README.md'),
classifiers=[
"Intended Audience :: System Administrators",
"Development Status :: 1 - Alpha",
"Topic :: Utilities",
"License :: OSI Approved :: BSD License",
"Topic :: System :: Archiving :: Mirroring",
"Topic :: System :: Installation/Setup",
],
console=["code/repo_sync","code/repoutil"],
)
else:
setup(
name = "reposado",
version = "git",
author = "Greg Neagle",
author_email = "[email protected]",
maintainer = "Brent B",
maintainer_email = "[email protected]",
description = ("Host Apple Software Updates on the hardware and OS of your choice."),
license = "BSD",
keywords = "apple software update repository",
url = "https://github.com/wdas/reposado",
packages=['reposadolib'],
package_dir={'reposadolib': 'code/reposadolib'},
scripts=["code/repo_sync","code/repoutil"],
long_description=read('README.md'),
classifiers=[
"Intended Audience :: System Administrators",
"Development Status :: 1 - Alpha",
"Topic :: Utilities",
"License :: OSI Approved :: BSD License",
"Topic :: System :: Archiving :: Mirroring",
"Topic :: System :: Installation/Setup",
],
)