Skip to content

Commit

Permalink
Please work
Browse files Browse the repository at this point in the history
  • Loading branch information
Igoreshka committed Nov 4, 2024
1 parent bd8a73c commit 4611739
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion src/setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,43 @@
# from setuptools import setup, find_packages

# setup(
# name='relaxit',
# version='0.1',
# packages=find_packages(),
# )


import io
import re
from setuptools import setup, find_packages

from relaxit import __version__

def read(file_path):
with io.open(file_path, 'r', encoding='utf-8') as f:
return f.read()


readme = read('README.rst')
# # вычищаем локальные версии из файла requirements (согласно PEP440)
# requirements = '\n'.join(
# re.findall(r'^([^\s^+]+).*$',
# read('requirements.txt'),
# flags=re.MULTILINE))


setup(
# metadata
name='relaxit',
version='0.1',
version=__version__,
license='MIT',
author='',
author_email="",
description='relaxit, python package',
long_description=readme,
url='https://github.com/intsystems/discrete-variables-relaxation',

# options
packages=find_packages(),
# install_requires=requirements,
)

0 comments on commit 4611739

Please sign in to comment.