Debian Codegraph @

setup.py

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
•1 # -*- coding: utf-8 -*-
2 #
3 # Copyright (C) 2021 Vinay Sajip.
4 # Licensed to the Python Software Foundation under a contributor agreement.
5 # See LICENSE.txt and CONTRIBUTORS.txt.
6 #
7
8 import setuptools
9 import distutils.core
10 from os.path import join, dirname
11
12 import distlib
13
14
15 class TestCommand(distutils.core.Command):
16 user_options = []
17
18 def run(self):
19 import sys
20
21 sys.path.append(join(dirname(__file__), 'tests'))
22 import test_all
23 sys.exit(test_all.main())
24
25 def initialize_options(self):
26 pass
27
28 def finalize_options(self):
29 pass
30
31
32 setuptools.setup(
33 name='distlib',
34 version=distlib.__version__,
35 author='Vinay Sajip',
36 author_email='[email protected]',
37 url='https://bitbucket.org/pypa/distlib',
38 download_url=('https://bitbucket.org/pypa/distlib/downloads/'
39 'distlib-' + distlib.__version__ + '.zip'),
40 description='Distribution utilities',
41 long_description=('Low-level components of distutils2/packaging, '
42 'augmented with higher-level APIs for making packaging easier.'),
43 license='Python license',
44 classifiers=[
45 'Development Status :: 5 - Production/Stable',
46 'Environment :: Console',
47 'Intended Audience :: Developers',
48 'License :: OSI Approved :: Python Software Foundation License',
49 'Operating System :: OS Independent',
50 'Programming Language :: Python',
51 'Programming Language :: Python :: 2',
52 'Programming Language :: Python :: 3',
53 'Programming Language :: Python :: 2.7',
54 'Programming Language :: Python :: 3.6',
55 'Programming Language :: Python :: 3.7',
56 'Programming Language :: Python :: 3.8',
57 'Programming Language :: Python :: 3.9',
58 'Programming Language :: Python :: 3.10',
59 'Programming Language :: Python :: 3.11',
60 'Topic :: Software Development',
61 ],
62 platforms='any',
63 packages=[
64 'distlib'
65 ],
66 package_data={
67 'distlib': ['t32.exe', 't64.exe', 'w32.exe', 'w64.exe',
68 't64-arm.exe', 'w64-arm.exe'],
69 },
70 cmdclass={
71 'test': TestCommand,
72 },
73 )