-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
53 lines (43 loc) · 1.46 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
"""
Excel Types
This package provides type annotations for Excel objects using
the win32com package (or pywin32).
This is also the default type returned by "pyxll.xl_app()" and
so this package will be useful for PyXLL users who want code
completion in editors like PyCharm or Visual Studio Code.
Example usage::
# Application is the main "Excel.Application" class
from exceltypes import Application
# If using win32com directly
import win32com.client
xl: Application = win32com.client.Dispatch("Excel.Application")
# Or if using pyxll
import pyxll
xl: Application = pyxll.xl_app()
"""
from setuptools import setup, find_packages
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name="exceltypes",
description="Type annotations for Excel types using win32com / pywin32",
long_description=long_description,
long_description_content_type='text/markdown',
version="0.0.2",
packages=find_packages(),
project_urls={
"Source": "https://github.com/pyxll/exceltypes",
"Tracker": "https://github.com/pyxll/exceltypes/issues",
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows"
],
python_requires=">=3.8.0",
install_requires=[
"pywin32"
]
)