Skip to content

Commit

Permalink
Update setup.py and pywinauto version.
Browse files Browse the repository at this point in the history
  • Loading branch information
vasily-v-ryabov committed Aug 30, 2016
1 parent e066eb8 commit 16528b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 22 deletions.
2 changes: 1 addition & 1 deletion pywinauto/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"""

__version__ = "0.5.4"
__version__ = "0.6.0"

from . import findwindows
WindowAmbiguousError = findwindows.WindowAmbiguousError
Expand Down
26 changes: 5 additions & 21 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,7 @@

from __future__ import print_function

try:
try:
from ez_setup import use_setuptools
use_setuptools()
except ImportError:
print('No ez_setup.py. Using plain setuptools...')
from setuptools import setup
except ImportError:
print('Using distutils.core for setup...')
from distutils.core import setup
from setuptools import setup

import os.path
import sys
Expand All @@ -56,32 +47,24 @@ def setup_path(path = ""):

return os.path.join(setup_path, path)


# add it to the system path
sys.path.append(setup_path())

try:
import win32api
requirements = []
except ImportError:
requirements = ["pypiwin32"]

# make sure the documentation is in the correct place for building
# todo: see how to build the website
#if "sdist" in sys.argv:
# import shutil
# if not os.path.exists(setup_path("docs")):
# shutil.move(setup_path("website"), setup_path("docs"))


setup(name='pywinauto',
version = '0.6.0',
description = 'pywinauto is a set of python '
'modules to automate the Microsoft Windows GUI',
keywords = "windows automation gui GuiAuto",
url = "http://pywinauto.github.io/",
author = 'Mark Mc Mahon',
author_email = '[email protected]',
author = 'Mark McMahon and Contributors',
author_email = '[email protected]',
long_description = """
At it's simplest it allows you to send mouse and keyboard
actions to windows dialogs and controls, but It has support for more complex
Expand Down Expand Up @@ -110,5 +93,6 @@ def setup_path(path = ""):
'Topic :: Software Development :: User Interfaces',
'Topic :: Software Development :: Quality Assurance',
],
install_requires=requirements,
install_requires=['six', 'pypiwin32', 'comtypes'],
setup_requires=['setuptools-scm'],
)

0 comments on commit 16528b7

Please sign in to comment.