-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·70 lines (49 loc) · 1.16 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/usr/bin/env python
'''
Setup script to create a pip/pypi package via setuptools.
'''
from setuptools import setup
with open('requirements.txt') as f:
requirements = f.read().strip().split('\n')
with open('requirements-dev.txt') as f:
requirements_dev = f.read().strip().split('\n')
setup(
#
# Package informations
#
name='cryptobob',
description='CryptoBob package',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
use_scm_version=True,
author='Dominique Barton',
license='MIT',
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
#
# Package content
#
packages=[
'cryptobob',
],
entry_points={
'console_scripts': [
'cryptobob=cryptobob.cli:main',
],
},
include_package_data=True,
#
# Requirements
#
python_requires='>=3.11',
setup_requires=[
'setuptools_scm',
],
install_requires=requirements,
extras_require={
'dev': requirements_dev
},
)