Skip to content

Commit af33565

Browse files
committed
Make package installable
1 parent f3d2506 commit af33565

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

package/src/_init_.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# package/src/__init__.py
2+
3+
# Empty for basic package initialization

setup.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
from setuptools import setup, find_packages
2+
3+
# Read requirements from the file (from the root directory)
4+
with open("requirements.txt") as f:
5+
requirements = f.read().splitlines()
6+
7+
setup(
8+
name='meem', # Package name
9+
version='0.1.0', # Package version
10+
description='A Python package for matched eigenfunctions methods', # Short description
11+
long_description=open('README.md').read(), # Read long description from README
12+
long_description_content_type='text/markdown', # Set content type for markdown
13+
url='https://github.com/symbiotic-engineering/semi-analytical-hydro.git', # GitHub URL
14+
packages=find_packages(where='package/src'), # Find packages under 'package/src'
15+
package_dir={'': 'package/src'}, # Set the package root directory to 'package/src'
16+
classifiers=[
17+
'Programming Language :: Python :: 3',
18+
'License :: OSI Approved :: MIT License',
19+
'Operating System :: OS Independent',
20+
],
21+
python_requires='>=3.8', # Minimum Python version required
22+
install_requires=requirements, # Install dependencies from requirements.txt
23+
license='MIT', # License type
24+
)

0 commit comments

Comments
 (0)