-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
46 lines (35 loc) · 1.04 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 python3
"""bits_parser"""
import sys
assert sys.version_info.major == 3, 'Python 3 required'
import re
from pathlib import Path
from setuptools import setup, find_packages
# read the version number from package
with (Path(__file__).resolve().parent / 'bits' / '__init__.py').open() as f:
v, = re.search(".*__version__ = '(.*)'.*", f.read(), re.MULTILINE).groups()
setup(
name='bits_parser',
version=v,
author='ANSSI-INM',
author_email='',
url='',
description=__doc__,
long_description=open('README.rst').read(),
install_requires=open('requirements.txt').read().splitlines(),
packages=find_packages(),
include_package_data=True,
zip_safe=False,
scripts=[
'scripts/bits_parser',
],
license='MIT',
platforms='any',
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
]
)