mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Ordering used: 1.) standard library imports 2.) third party imports 3.) local package imports Each group is individually alphabetized.
55 lines
1.6 KiB
Python
55 lines
1.6 KiB
Python
# cmpcodesize/setup.py - Install script for cmpcodesize -*- python -*-
|
|
#
|
|
# This source file is part of the Swift.org open source project
|
|
#
|
|
# Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
|
|
# Licensed under Apache License v2.0 with Runtime Library Exception
|
|
#
|
|
# See http://swift.org/LICENSE.txt for license information
|
|
# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
|
|
import os
|
|
|
|
import cmpcodesize
|
|
|
|
import setuptools
|
|
|
|
# setuptools expects to be invoked from within the directory of setup.py,
|
|
# but it is nice to allow `python path/to/setup.py install` to work
|
|
# (for scripts, etc.)
|
|
os.chdir(os.path.dirname(os.path.abspath(__file__)))
|
|
|
|
setuptools.setup(
|
|
name="cmpcodesize",
|
|
version=cmpcodesize.__version__,
|
|
|
|
author=cmpcodesize.__author__,
|
|
author_email=cmpcodesize.__email__,
|
|
url='http://swift.org',
|
|
license='Apache',
|
|
|
|
description="A tool to compare the size of Swift compiler build products.",
|
|
keywords='compare size swift',
|
|
|
|
test_suite='tests',
|
|
|
|
classifiers=[
|
|
'Development Status :: 3 - Alpha',
|
|
'Environment :: Console',
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: Apache Software License',
|
|
'Natural Language :: English',
|
|
'Operating System :: OS Independent',
|
|
'Programming Language :: Python',
|
|
'Topic :: Software Development :: Compilers',
|
|
],
|
|
|
|
zip_safe=False,
|
|
packages=setuptools.find_packages(),
|
|
entry_points={
|
|
'console_scripts': [
|
|
'cmpcodesize = cmpcodesize:main',
|
|
],
|
|
}
|
|
)
|