-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
31 lines (28 loc) · 1.14 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
from setuptools import setup, find_packages
import os
def read(*names):
return open(os.path.join(os.path.dirname(__file__), *names)).read()
# done this way to avoid importing the package during setup
def get_version():
contents = read("pyvda", "_version.py").strip()
version = contents.rpartition(" ")[2].strip('"')
return version
setup(
name="pyvda",
version=get_version(),
description="Python implementation of the VirtualDesktopAccessor for manipulating Windows 10 virtual desktops.",
author="Mike Roberts",
author_email="[email protected]",
license="LICENSE.txt",
url="https://github.com/mrob95/py-VirtualDesktopAccessor",
long_description = read("README.md"),
long_description_content_type='text/markdown',
packages=find_packages(exclude=("tests", "tests.*")),
install_requires=["pywin32", "comtypes"],
classifiers=[
"Environment :: Win32 (MS Windows)",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3.7",
],
)