-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
executable file
·46 lines (41 loc) · 1.35 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
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
from glob import glob
from os.path import basename
from os.path import join
from os.path import splitext
from setuptools import find_packages
from setuptools import setup
desc = '''A ScanCode path provider plugin to provide a prebuilt native libmagic binary and database.'''
setup(
name='typecode_libmagic',
version='5.39.210223',
license=(
'apache-2.0 AND bsd-simplified-darwin AND (bsd-simplified AND public-domain AND '
'bsd-new AND isc AND (bsd-new OR gpl-1.0-plus) AND bsd-original)'
),
description=desc,
long_description=desc,
author='nexB',
author_email='[email protected]',
url='https://github.com/nexB/scancode-plugins',
packages=find_packages('src'),
package_dir={'': 'src'},
py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')],
include_package_data=True,
zip_safe=False,
classifiers=[
# complete classifier list: http://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Utilities',
],
keywords=[
'open source', 'typecode', 'libmagic'
],
entry_points={
'scancode_location_provider': [
'typecode_libmagic = typecode_libmagic:LibmagicPaths',
],
},
)