forked from Nicoretti/crc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (31 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
import pathlib
from crc import LIBRARY_VERSION
from setuptools import setup
current = pathlib.Path(__file__).parent.resolve()
def readme():
return (current / 'README.md').read_text(encoding='utf-8')
if __name__ == '__main__':
setup(
name='crc',
version=LIBRARY_VERSION,
py_modules=['crc'],
classifiers=[
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
url='https://github.com/Nicoretti/crc',
license='BSD',
python_requires='>=3.7',
author='Nicola Coretti',
author_email='[email protected]',
description='Library and CLI to calculate and verify all kinds of CRC checksums.',
keywords=['CRC', 'CRC8', 'CRC16', 'CRC32', 'CRC64'],
long_description=readme(),
long_description_content_type='text/markdown',
entry_points={
'console_scripts': [
'crc=crc:main',
],
}
)