forked from quantumgizmos/bp_osd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·31 lines (26 loc) · 813 Bytes
/
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
from setuptools import setup
from pathlib import Path
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
VERSION=1.6
with open("src/bposd/VERSION","w+") as f:
f.write(str(VERSION))
from shutil import copyfile
include_files=["README.md","LICENSE"]
for f in include_files: copyfile(f,"src/bposd/"+f)
setup(
python_requires='>=3.6',
name='bposd',
version=VERSION,
description='BP+OSD',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://roffe.eu/software/ldpc',
author='Joschka Roffe',
packages=["bposd"],
package_dir={'':'src'},
classifiers=['Intended Audience :: Science/Research'],
install_requires=["ldpc"],
include_package_data=True,
zip_safe=False,
)