-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathsetup.py
33 lines (30 loc) · 1.14 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
# from distutils.core import setup, Extension
from setuptools import setup, Extension, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
ljpeg92 = Extension('ljpegCompress', sources=[
"src/pidng/bitunpack.c", "src/pidng/liblj92/lj92.c"], extra_compile_args=['-std=gnu99'], extra_link_args=[])
setup(
name="pidng",
include_package_data=True,
version="4.0.9",
author="Csaba Nagy",
description="Python utility for creating Adobe DNG files from RAW image data.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/schoolpost/PiDNG",
install_requires=[
'numpy',
],
classifiers=[
'Development Status :: 4 - Beta',
"Topic :: Multimedia :: Graphics :: Capture :: Digital Camera",
"Topic :: Multimedia :: Graphics :: Graphics Conversion",
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: MIT License",
],
ext_modules=[ljpeg92],
package_dir={"": "src"},
packages=find_packages(where="src"),
python_requires='>=3.6',
)