-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Set version to 0.2.1 * Update changelog * Update changelog * Use setup.cfg in the build setup
- Loading branch information
Showing
5 changed files
with
43 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
include *.rst | ||
include *.txt | ||
include *.cfg | ||
recursive-include docs *.bat *.py *.rst | ||
include docs/Makefile | ||
include tox.ini | ||
include VERSION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.2.1.dev1 | ||
0.2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[metadata] | ||
name = pywin32-ctypes | ||
version = file: VERSION | ||
url = https://github.com/enthought/pywin32-ctypes | ||
author = Enthought Inc. | ||
author_email = [email protected] | ||
description = A (partial) reimplementation of pywin32 using ctypes/cffi | ||
long_description = file: README.rst, CHANGELOG.txt | ||
license = BSD-3-Clause | ||
license_files = file: LICENSE.txt | ||
classifier = | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Programming Language :: Python :: 3.10 | ||
Programming Language :: Python :: 3.11 | ||
|
||
[options] | ||
zip_safe = False | ||
packages = find: | ||
python_requires = >=3.6 | ||
|
||
[options.packages.find] | ||
exclude = docs* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,8 @@ | ||
import os | ||
from setuptools import setup, find_packages | ||
from pathlib import Path | ||
from setuptools import setup | ||
|
||
HERE = Path(__file__).parent | ||
version = (HERE / 'VERSION').read_text().strip() | ||
filename = (HERE / 'win32ctypes' / 'version.py').write_text(f'__version__ = "{version}"\n') | ||
|
||
HERE = os.path.dirname(__file__) | ||
version = open( | ||
os.path.join(HERE, 'VERSION')).read().strip() | ||
|
||
filename = os.path.join(HERE, 'win32ctypes', 'version.py') | ||
with open(filename, 'w') as handle: | ||
handle.write(f'__version__ = "{version}"\n') | ||
|
||
setup( | ||
name='pywin32-ctypes', | ||
version=version, | ||
url='https://github.com/enthought/pywin32-ctypes', | ||
author='Enthought Inc', | ||
author_email='[email protected]', | ||
packages=find_packages(), | ||
license="BSD", | ||
classifiers=[ | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
], | ||
zip_safe=False, | ||
test_suite='win32ctypes.tests') | ||
setup() |