Skip to content

Commit

Permalink
update version number
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumgizmos committed Jan 3, 2022
1 parent 2cfa564 commit 3f36c9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 31 deletions.
19 changes: 2 additions & 17 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,10 @@
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()

<<<<<<< HEAD
VERSION="0.0.9"
f=open("src/bposd/VERSION","w+")
f.write(VERSION)
f.close()
=======
VERSION=0.20
VERSION=0.21
with open("src/bposd/VERSION","w+") as f:
f.write(str(VERSION))

>>>>>>> dev2

from shutil import copyfile
include_files=["README.md","LICENSE"]
Expand All @@ -22,24 +15,16 @@
setup(
python_requires='>=3.6',
name='bposd',
<<<<<<< HEAD
version=VERSION,
=======
version='0.0.9',
>>>>>>> dev2
description='BP+OSD',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://roffe.eu/docs/ldpc',
url='https://roffe.eu/software/ldpc',
author='Joschka Roffe',
packages=["bposd"],
package_dir={'':'src'},
classifiers=['Development Status :: 1 - Planning'],
<<<<<<< HEAD
install_requires=["tqdm","scipy",f"ldpc=={ldpc.__version__}",f"numpy=={numpy.__version__}"],
=======
install_requires=["ldpc"],
>>>>>>> dev2
include_package_data=True,
zip_safe=False,
)
Expand Down
14 changes: 0 additions & 14 deletions src/bposd/__init__.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
<<<<<<< HEAD
from .bposd import bposd_decoder

import os
from . import __file__
def get_include():
path = os.path.dirname(__file__)
return path

f=open(get_include()+"/VERSION")
__version__=f.read()
f.close()
=======
from ldpc import bposd_decoder
import os
import bposd
Expand All @@ -22,4 +9,3 @@ def get_include():
__version__=f.read()


>>>>>>> dev2

0 comments on commit 3f36c9f

Please sign in to comment.