-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
56 lines (45 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/usr/bin/env python
from io import open
from os import path
from setuptools import find_packages, setup
# Package meta-data.
NAME = 'extsum'
DESCRIPTION = 'Extract ID from Picsum photos'
URL = 'https://github.com/streof/extsum'
REQUIRES_PYTHON = '>=3.8, <4'
VERSION = '0.1.0'
REQUIRED = [
'requests>=2.23.0,<3',
]
TESTS_REQUIRED = [
'pytest>=5.4.2',
]
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
try:
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = '\n' + f.read()
except FileNotFoundError:
long_description = DESCRIPTION
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=long_description,
long_description_content_type='text/markdown',
python_requires=REQUIRES_PYTHON,
url=URL,
packages=find_packages(),
install_requires=REQUIRED,
include_package_data=True,
license='MIT',
keywords='exif metadata picsum jpeg',
entry_points={
'console_scripts': [
'extsum=extsum.__main__',
],
},
extras_require={
"dev": TESTS_REQUIRED
},
)