romybeaute commited on
Commit
bfbb848
·
1 Parent(s): f1dfad5

added setup.py for JOSS

Browse files
Files changed (1) hide show
  1. setup.py +22 -0
setup.py ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ from setuptools import setup, find_packages
3
+
4
+ # Helper to read requirements.txt
5
+ def read_requirements():
6
+ if os.path.exists("requirements.txt"):
7
+ with open("requirements.txt") as f:
8
+ return [line.strip() for line in f if line.strip() and not line.startswith("#")]
9
+ return []
10
+
11
+ setup(
12
+ name="MOSAICapp",
13
+ version="0.1.0",
14
+ description="MOSAICapp: Application for Mapping of Subjective Accounts into Interpreted Clusters",
15
+ author="Romy Beauté",
16
+ author_email="r.beaut@sussex.ac.uk",
17
+ url="https://github.com/romybeaute/MOSAICapp",
18
+ packages=find_packages(), # find 'mosaic_core' automatically
19
+ include_package_data=True,
20
+ install_requires=read_requirements(), # reads requirements.txt
21
+ python_requires=">=3.9",
22
+ )