Blame python-pymssql-2.2.1-disable_setuptools_scm.patch
|
|
3a0fe99 |
diff -up ./setup.py.orig ./setup.py
|
|
|
3a0fe99 |
--- ./setup.py.orig 2021-04-16 03:05:41.000000000 +0200
|
|
|
3a0fe99 |
+++ ./setup.py 2021-04-22 15:50:21.573507656 +0200
|
|
|
3a0fe99 |
@@ -282,11 +282,6 @@ def mk_long_description():
|
|
|
3a0fe99 |
|
|
|
3a0fe99 |
setup(
|
|
|
3a0fe99 |
name = 'pymssql',
|
|
|
3a0fe99 |
- use_scm_version = {
|
|
|
3a0fe99 |
- "write_to": "src/pymssql/version.h",
|
|
|
3a0fe99 |
- "write_to_template": '#define PYMSSQL_VERSION "{version}"',
|
|
|
3a0fe99 |
- "local_scheme": "no-local-version",
|
|
|
3a0fe99 |
- },
|
|
|
3a0fe99 |
description = 'DB-API interface to Microsoft SQL Server for Python. (new Cython-based version)',
|
|
|
3a0fe99 |
long_description = mk_long_description(),
|
|
|
3a0fe99 |
author = 'Damien Churchill',
|
|
|
3a0fe99 |
@@ -324,7 +319,7 @@ setup(
|
|
|
3a0fe99 |
"Operating System :: Unix",
|
|
|
3a0fe99 |
],
|
|
|
3a0fe99 |
zip_safe = False,
|
|
|
3a0fe99 |
- setup_requires=['setuptools_scm', 'Cython'],
|
|
|
3a0fe99 |
+ setup_requires=['Cython'],
|
|
|
3a0fe99 |
tests_require=['psutil', 'pytest', 'pytest-timeout'],
|
|
|
3a0fe99 |
ext_modules = ext_modules(),
|
|
|
3a0fe99 |
packages = [ 'pymssql'],
|