-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
60 lines (56 loc) · 2.09 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
55
56
57
58
59
60
#!/usr/bin/python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
#--
# put our dev version of pybaccarat ahead of installed copies
import os,sys,unittest
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))[:-6]) #=dev first
from pybaccarat.baccarat import __version__
#--
def readme(filespec):
'''Utility to return readme contents for long description'''
with open(filespec) as f:
return f.read()
setup(
name='pybaccarat',
version=__version__,
url='https://github.com/fulkgl/PyBaccarat',
download_url='https://pypi.python.org/packages/source/P/pybaccarat/'+\
'pybaccarat-%s.tar.gz' % __version__,
description='Play the card game Baccarat',
long_description=readme('README.md'),
author='George L Fulk',
author_email='fulkgl@gmail.com',
maintainer='George L Fulk',
maintainer_email='fulkgl@gmail.com',
license='MIT',
packages=['pybaccarat'],
keywords=['baccarat','game','playing cards','cards','card game',],
scripts=['play_baccarat_interactive.py',],
zip_safe=False,
classifiers=[
'Development Status :: 3 - Alpha',
#Development Status :: 4 - Beta',
#Development Status :: 5 - Production/Stable',
'Environment :: Console',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Games/Entertainment',
'Topic :: Software Development :: Libraries :: Python Modules',
],
# create an executable on target install
# play_baccarat [name of executable on target to create]
# play_baccarat_interactive [name.py to execute]
# play [play() function to call]
entry_points={'console_scripts':[
'play_baccarat = play_baccarat_interactive:play',],},
)