File: init

package info (click to toggle)
python-lib25519 0~20241004.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 120 kB
  • sloc: python: 229; makefile: 2
file content (12 lines) | stat: -rwxr-xr-x 287 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env python3

helpstr = "'''\n"
with open('README.md') as f:
    helpstr += f.read()
helpstr += "'''\n"

with open(f'src/lib25519/__init__.py', 'w') as f:
    f.write(helpstr)
    f.write('\n')
    f.write('from .dh import x25519\n')
    f.write('from .sign import ed25519\n')