-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (40 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
from setuptools import setup, find_packages, Extension
with open('README.md', 'r', encoding='utf-8') as f:
readme = f.read()
ext_modules = [
Extension('xrtf._xrtf',
sources=['ext/module.c', 'ext/compression.c'],
)
]
setup(name='xrtf',
description='Rich Text Format (RTF) Compression',
author='Nick Czeczulin',
long_description=readme,
long_description_content_type='text/markdown',
license='MIT',
url='https://github.com/nczeczulin/xrtf',
classifiers=[
"Topic :: Communications :: Email",
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows"
],
python_requires=">=3.6",
packages=find_packages(where="src"),
package_dir={"": "src"},
ext_modules=ext_modules,
use_scm_version=True,
install_requires=[],
setup_requires=['setuptools_scm', "pytest-runner"],
tests_require=['pytest']
)