Eclectic Media Git toast / 1492b40
Added a version to the package Ariana Giroux 1 year, 1 month ago
2 changed file(s) with 8 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
22 from sphinx.setup_command import BuildDoc
33 from sys import executable
44 from os import system, access, F_OK
5
6 from toast import __version__
57
68 with open("Readme.rst", "r") as fh:
79 long_description = fh.read()
7779 system('mandb')
7880
7981
82 version = __version__
8083 setup(
8184 name='toast',
82 version=0.1,
85 version=__version__,
8386 description='WSL Access to Windows toast notifications',
8487 long_description=long_description,
8588 long_description_content_type="text/x-rst",
104107 command_options={
105108 'build_sphinx': {
106109 'project': ('setup.py', 'toast'),
107 'version': ('setup.py', '0.1'),
110 'version': ('setup.py', str(__version__)),
108111 'source_dir': ('setup.py', 'docs'),
109112 'build_dir': ('setup.py', 'docs/build'),
110113 'builder': ('setup.py', 'man'),
44 >>> toast('test', title='test title')
55 """
66 from subprocess import Popen, PIPE
7
8
9 __version__ = 0.3
710
811
912 def check_for_toast():