8000 pip stuff, tests · libvips/pyvips@5ef43c6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5ef43c6

Browse files
committed
pip stuff, tests
unfinished, mind you
1 parent f93449e commit 5ef43c6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+8034
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
.*.swp
22
*.pyc
3+
*.egg-info
4+

LICENSE.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Copyright (c) 2017 John Cupitt
2+
3+
Permission is hereby granted, free of charge, to any person obtaining
4+
a copy of this software and associated documentation files (the
5+
"Software"), to deal in the Software without restriction, including
6+
without limitation the rights to use, copy, modify, merge, publish,
7+
distribute, sublicense, and/or sell copies of the Software, and to
8+
permit persons to whom the Software is furnished to do so, subject to
9+
the following conditions:
10+
11+
The above copyright notice and this permission notice shall be
12+
included in all copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Include the license file
2+
include LICENSE.txt

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[bdist_wheel]
2+
universal=1

setup.py

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
"""A setuptools based setup module.
2+
3+
See:
4+
https://packaging.python.org/en/latest/distributing.html
5+
https://github.com/pypa/sampleproject
6+
"""
7+
8+
# Always prefer setuptools over distutils
9+
from setuptools import setup, find_packages
10+
# To use a consistent encoding
11+
from codecs import open
12+
from os import path
13+
14+
here = path.abspath(path.dirname(__file__))
15+
16+
# Get the long description from the README file
17+
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
18+
long_description = f.read()
19+
20+
setup(
21+
name = 'pyvips',
22+
23+
# Versions should comply with PEP440. For a discussion on single-sourcing
24+
# the version across setup.py and the project code, see
25+
# https://packaging.python.org/en/latest/single_source_version.html
26+
version = '2.0.0.dev1',
27+
28+
description = 'binding for the libvips image processing library',
29+
long_description = long_description,
30+
31+
# The project's main homepage.
32+
url = 'https://github.com/jcupitt/pyvips',
33+
34+
# Author details
35+
author = 'John Cupitt',
36+
author_email = 'jcupitt@gmail.com',
37+
38+
# Choose your license
39+
license = 'MIT',
40+
41+
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
42+
classifiers = [
43+
# How mature is this project? Common values are
44+
# 3 - Alpha
45+
# 4 - Beta
46+
# 5 - Production/Stable
47+
'Development Status :: 5 - Production/Stable',
48+
49+
# Indicate who your project is intended for
50+
'Intended Audience :: Developers',
51+
'Topic :: Image processing',
52+
53+
# Pick your license as you wish (should match "license" above)
54+
'License :: OSI Approved :: MIT License',
55+
56+
# Specify the Python versions you support here. In particular, ensure
57+
# that you indicate whether you support Python 2, Python 3 or both.
58+
'Programming Language :: Python :: 2.7',
59+
'Programming Language :: Python :: 3',
60+
'Programming Language :: Python :: 3.3',
61+
'Programming Language :: Python :: 3.4',
62+
'Programming Language :: Python :: 3.5',
63+
],
64+
65+
# What does your project relate to?
66+
keywords = 'image processing',
67+
68+
# You can just specify the packages manually here if your project is
69+
# simple. Or you can use find_packages().
70+
packages = find_packages(exclude = ['contrib', 'docs', 'tests']),
71+
72+
# Alternatively, if you want to distribute just a my_module.py, uncomment
73+
# this:
74+
# py_modules=["my_module"],
75+
76+
# List run-time dependencies here. These will be installed by pip when
77+
# your project is installed. For an analysis of "install_requires" vs pip's
78+
# requirements files see:
79+
# https://packaging.python.org/en/latest/requirements.html
80+
install_requires=['cffi'],
81+
82+
# List additional groups of dependencies here (e.g. development
83+
# dependencies). You can install these using the following syntax,
84+
# for example:
85+
# $ pip install -e .[dev,test]
86+
extras_require={
87+
'dev': ['check-manifest'],
88+
'test': ['coverage'],
89+
},
90+
91+
)

spec/images/1.webp

29.6 KB
Binary file not shown.

spec/images/CMU-1-Small-Region.svs

1.85 MB
Binary file not shown.

spec/images/ISO_12233-reschart.pdf

92.8 KB
Binary file not shown.

spec/images/WFPC2u5780205r_c0fx.fits

Lines changed: 1814 additions & 0 deletions
Large diffs are not rendered by default.

spec/images/blankpage.pdf

365 Bytes
Binary file not shown.

spec/images/blankpage.pdf.png

3.71 KB
Loading

spec/images/blankpage.svg

Lines changed: 58 additions & 0 deletions
Loading

spec/images/blankpage.svg.png

3.33 KB
Loading

spec/images/cmyktest.pdf

1.41 MB
Binary file not shown.

spec/images/cogs.gif

2.69 KB
Loading

spec/images/cramps.gif

12.8 KB
Loading

spec/images/dicom_test_image.dcm

132 KB
Binary file not shown.
1.08 MB
Binary file not shown.

spec/images/sRGB.icm

6.76 KB
Binary file not shown.

spec/images/sample.exr

370 KB
Binary file not shown.

spec/images/sample.mat

720 KB
Binary file not shown.

spec/images/sample.png

661 KB
Loading

spec/images/sample.tif

751 KB
Binary file not shown.

spec/images/t00740_tr1_segm.hdr

348 Bytes
Binary file not shown.

spec/images/t00740_tr1_segm.img

1.97 MB
Binary file not shown.

spec/images/trans-x.gif

1.09 KB
Loading

spec/images/trans-x.png

436 Bytes
Loading

0 commit comments

Comments
 (0)
0