-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
39 lines (35 loc) · 1.21 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
from setuptools import setup, Extension
#
# TODO: Delete this file entirely once support for `ext-modules` in
# pyproject.toml is mature. It just replicates the same information
# otherwise.
#
ext_modules = [Extension("_cdifflib", sources=["_cdifflib.c", "_cdifflib3.c"]),]
with open("README.md") as f:
long_description = f.read()
setup(
name="cdifflib",
version="1.2.9",
description="C implementation of parts of difflib",
long_description=long_description,
long_description_content_type="text/markdown",
ext_modules=ext_modules,
py_modules=["cdifflib"],
author="Matthew Duggan",
author_email="mgithub@guarana.org",
license="BSD",
url="https://github.com/mduggan/cdifflib",
keywords="difflib c diff",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python",
"Topic :: Software Development",
"Topic :: Text Processing :: General",
],
)