-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (39 loc) · 1.43 KB
/
setup.py
File metadata and controls
46 lines (39 loc) · 1.43 KB
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
#!/usr/bin/env python
from setuptools import setup, find_packages
# Parse version number from pyglet/__init__.py:
with open('nard_backgammon/__init__.py') as f:
info = {}
for line in f:
if line.startswith('version'):
exec(line, info)
break
setup_info = dict(
name='nard_backgammon',
version=info['version'],
author='Emil Humbatov',
author_email='emil4154515@gmail.com',
description='Classic board game of Nard (Backgammon) for two players.',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
url='https://github.com/cmdtorch/nard-backgammon',
download_url=f'https://github.com/cmdtorch/nard-backgammon/archive/refs/tags/{info["version"]}.zip',
license='MIT',
project_urls={
'Source': 'https://github.com/pyglet/pyglet',
'Tracker': 'https://github.com/pyglet/pyglet/issues',
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
"Topic :: Games/Entertainment :: Board Games",
],
# Package info
packages=['nard_backgammon'],
)
setup(**setup_info)