Skip to content

Commit

Permalink
create setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bleudev committed Jun 9, 2024
1 parent eec20cc commit 2960eca
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
35 changes: 35 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
from setuptools import setup

from ufpy import __version__

with open('README.md', 'r', encoding='utf-8') as mdf:
long_description = mdf.read()

with open('requirements.txt', 'r', encoding='utf-8') as rqf:
install_requires = rqf.readlines()

organization_name = 'honey-team'
author, author_email = 'bleudev', '[email protected]'
project_name = 'ufpy'
github_url = f'https://github.com/{organization_name}/{project_name}'

setup(
name=project_name,
version=__version__,
author=author,
author_email=author_email,
description='Ufpy (Useful Python) - package for Python with some useful features.',
download_url=f'{github_url}/releases/tag/{__version__}',
long_description=long_description,
long_description_content_type='text/markdown',
url=github_url,
packages=[project_name],
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.12.1',
],
zip_safe=False,
python_requires=">=3.12",
install_requires=install_requires
)
2 changes: 1 addition & 1 deletion ufpy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '1.0-alpha'
__version__ = '0.1'

from .cmp import *
from .math_op import *
Expand Down

0 comments on commit 2960eca

Please sign in to comment.