-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
51 lines (43 loc) · 1.74 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import re
from setuptools import find_packages, setup
# Read properties from __init__.py
with open(os.path.join(os.path.dirname(__file__), 'pylinkam', '__init__.py')) as file_init:
content_init = file_init.read()
version = re.search("__version__ = '([^']+)'", content_init).group(1)
author = re.search("__author__ = '([^']+)'", content_init).group(1)
maintainer = re.search("__maintainer__ = '([^']+)'", content_init).group(1)
maintainer_email = re.search("__email__ = '([^']+)'", content_init).group(1)
setup(
name='pylinkam',
version=version,
description='Python bindings for the official Linkam SDK',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
author=author,
maintainer=maintainer,
maintainer_email=maintainer_email,
packages=find_packages(),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: System :: Hardware',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
],
license='GPLv3',
platforms='any'
)