-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
34 lines (31 loc) · 1.21 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
import os
import os.path
from setuptools import setup
from glob import glob
here = os.path.abspath(os.path.dirname(__file__))
packages = []
for d, _, _ in os.walk(os.path.join(here, 'ImageMetaTag')):
if os.path.exists(os.path.join(d, '__init__.py')):
packages.append(d[len(here)+1:].replace(os.path.sep, '.'))
setup_args = dict(
name = 'ImageMetaTag',
# see release_process for details on incrementing the version
version = '0.8.2',
description = 'Image metadata tagging, database and presentation',
license = 'BSD3',
author = 'Melissa Brooks',
url = 'https://github.com/SciTools-incubator/image-meta-tag',
packages = packages,
test_suite = 'python test.py',
classifiers = ['Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
package_data = {'ImageMetaTag': ['javascript/*']},
scripts = ['bin/rm_imt_images'],
)
if __name__ == '__main__':
setup(**setup_args)