Debian Codegraph @

setup.py

raw symbols SCIP
1 #!/usr/bin/env python
2 from setuptools import setup, find_packages
3
4
5 # Parse version number from pyglet/__init__.py:
6 with open('pyglet/__init__.py') as f:
7 info = {}
8 for line in f:
9 if line.startswith('version'):
10 exec(line, info)
11 break
12
13
14 setup_info = dict(
15 name='pyglet',
16 version=info['version'],
17 author='Alex Holkner',
18 author_email='[email protected]',
19 url='http://pyglet.readthedocs.org/en/latest/',
20 download_url='http://pypi.python.org/pypi/pyglet',
21 project_urls={
22 'Documentation': 'https://pyglet.readthedocs.io/en/latest',
23 'Source': 'https://github.com/pyglet/pyglet',
24 'Tracker': 'https://github.com/pyglet/pyglet/issues',
25 },
26 description='Cross-platform windowing and multimedia library',
27 long_description=open('README.md').read(),
28 long_description_content_type='text/markdown',
29 license='BSD',
30 classifiers=[
31 'Development Status :: 5 - Production/Stable',
32 'Environment :: MacOS X',
33 'Environment :: Win32 (MS Windows)',
34 'Environment :: X11 Applications',
35 'Intended Audience :: Developers',
36 'License :: OSI Approved :: BSD License',
37 'Operating System :: MacOS :: MacOS X',
38 'Operating System :: Microsoft :: Windows',
39 'Operating System :: POSIX :: Linux',
40 'Programming Language :: Python :: 3',
41 'Programming Language :: Python :: 3.8',
42 'Programming Language :: Python :: 3.9',
43 'Programming Language :: Python :: 3.10',
44 'Programming Language :: Python :: 3.11',
45 'Topic :: Games/Entertainment',
46 'Topic :: Software Development :: Libraries :: Python Modules',
47 ],
48
49 # Package info
50 packages=['pyglet'] + ['pyglet.' + pkg for pkg in find_packages('pyglet')],
51
52 # Add _ prefix to the names of temporary build dirs
53 options={'build': {'build_base': '_build'}, },
54 zip_safe=True,
55 )
56
57 setup(**setup_info)