-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·54 lines (45 loc) · 1.78 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
#! /usr/bin/env python
import sys
from setuptools import setup
def get_version():
d = {}
try:
execfile("bbfreeze/__init__.py", d)
except Exception:
pass
return d["__version__"]
version = get_version()
def main():
install_requires = ["altgraph==0.9", "bbfreeze-loader>=1.1.0,<1.2.0"]
if sys.platform == 'win32':
install_requires.append("pefile>=1.2.4")
setup(name="bbfreeze",
version=version,
entry_points={
"console_scripts": ['bb-freeze = bbfreeze:main', 'bbfreeze = bbfreeze:main'],
"distutils.commands": [
"bdist_bbfreeze = bbfreeze.bdist_bbfreeze:bdist_bbfreeze"]},
install_requires=install_requires,
packages=['bbfreeze', 'bbfreeze.modulegraph'],
zip_safe=False,
maintainer="Ralf Schmitt",
maintainer_email="[email protected]",
url="https://pypi.python.org/pypi/bbfreeze/",
description="create standalone executables from python scripts",
platforms="Linux Windows",
license="zlib/libpng license",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: zlib/libpng License",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.4",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Topic :: Software Development :: Build Tools",
"Topic :: System :: Software Distribution"],
long_description=open("README.rst").read())
if __name__ == '__main__':
main()