File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11from setuptools import setup
2- import os
3-
4- VERSION = None
5- path_version = os .path .join (os .path .dirname (__file__ ), './version.py' )
6- exec (open (path_version ).read ())
72
83setup (
94 name = 'sightengine' ,
105 packages = ['sightengine' ],
11- version = VERSION ,
6+ version = '1.2.1' ,
127 description = 'Sightengine Python client' ,
138 author = 'Sightengine' ,
149 author_email = 'support@sightengine.com' ,
Original file line number Diff line number Diff line change 1+ __version__ = '1.2.1'
Original file line number Diff line number Diff line change 1919THE SOFTWARE.
2020"""
2121
22- import requests , json , os
22+ import requests , json , sightengine
2323from io import BytesIO
2424
25- VERSION = None
26- path_version = os .path .join (os .path .dirname (__file__ ), '../version.py' )
27- exec (open (path_version ).read ())
25+ VERSION = sightengine .__version__
2826
2927headers = requests .utils .default_headers ()
3028headers .update (
Original file line number Diff line number Diff line change 2020"""
2121
2222import requests , json , os
23+ import sightengine
2324from .check import Check
2425
25- VERSION = None
26- path_version = os .path .join (os .path .dirname (__file__ ), '../version.py' )
27- exec (open (path_version ).read ())
26+ VERSION = sightengine .__version__
2827
2928headers = requests .utils .default_headers ()
3029headers .update (
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments