generated from stjude-biohackathon/KIDS24-team
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
51 lines (46 loc) · 1.78 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
from setuptools import setup, find_packages
import os
# Function to read version from version.py
def get_version():
version = {}
with open(os.path.join('grumpy', 'version.py')) as f:
exec(f.read(), version)
return version['__version__']
def read_requirements():
try:
with open('requirements.txt', 'r') as f:
return [line.strip() for line in f if line.strip() and not line.startswith('#')]
except FileNotFoundError:
return []
# Read the contents of your README file
with open('README.md', 'r', encoding='utf-8') as fh:
long_description = fh.read()
setup(
name='grumpy', # Replace with your package's name
version=get_version(),
author='Wojciech Rosikiewicz', # Replace with your name or organization
author_email='[email protected]', # Replace with your email
description='A Python package for analysis and evaluation using grumpy model',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/stjude-biohackathon/KIDS24-team18', # Replace with your project's URL
packages=['grumpy'], # Finds the 'grumpy' package
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License', # Adjust license if needed
'Operating System :: OS Independent',
],
python_requires='>=3.9',
install_requires=[read_requirements()],
package_data={
# Include any data files from the 'grumpy' package
'grumpy': ['data/*', 'templates/*', 'modules/*', 'utils/*'],
},
entry_points={
'console_scripts': [
'grumpy=grumpy.cli:main', # Entry point for your script
],
},
include_package_data=True,
license="MIT", # Adjust license type if needed
)