haileyhalimj@gmail.com commited on
Commit
d063295
·
1 Parent(s): f80b531

🧹 Clean up dependencies: Remove unused packages

Browse files

- Remove unused dependencies: scipy, python-dotenv, pytz, absl-py, immutabledict, protobuf, six, typing_extensions
- Keep only actually used packages: ortools, pandas, numpy, streamlit, plotly, openpyxl, xlrd, python-dateutil
- Move networkx to optional 'viz' extras (only used for enhanced network visualizations)
- Reduce installation size and complexity
- Maintain functionality while eliminating bloat
- Update requirements.txt to match setup.py

Files changed (2) hide show
  1. requirements.txt +2 -12
  2. setup.py +2 -25
requirements.txt CHANGED
@@ -2,7 +2,6 @@
2
  ortools>=9.0.0
3
  pandas>=1.5.0
4
  numpy>=1.21.0
5
- scipy>=1.9.0
6
 
7
  # Web interface
8
  streamlit>=1.28.0
@@ -12,15 +11,6 @@ plotly>=5.0.0
12
  openpyxl>=3.0.0
13
  xlrd>=2.0.0
14
  python-dateutil>=2.9.0
15
- python-dotenv>=1.0.0
16
- pytz>=2024.1
17
 
18
- # Visualization and network analysis
19
- networkx>=2.8.0
20
-
21
- # Supporting libraries
22
- absl-py>=1.0.0
23
- immutabledict>=4.0.0
24
- protobuf>=3.20,<6
25
- six>=1.16.0
26
- typing_extensions>=4.0.0
 
2
  ortools>=9.0.0
3
  pandas>=1.5.0
4
  numpy>=1.21.0
 
5
 
6
  # Web interface
7
  streamlit>=1.28.0
 
11
  openpyxl>=3.0.0
12
  xlrd>=2.0.0
13
  python-dateutil>=2.9.0
 
 
14
 
15
+ # Optional: Enhanced visualization (install with: pip install -e .[viz])
16
+ # networkx>=2.8.0
 
 
 
 
 
 
 
setup.py CHANGED
@@ -6,7 +6,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
6
  setup(
7
  name="supply-roster-optimization",
8
  version="1.0.0",
9
- description="A comprehensive Streamlit application for optimizing supply roster management using OR-Tools",
10
  long_description=long_description,
11
  long_description_content_type="text/markdown",
12
  author="HaLim Jun",
@@ -18,24 +18,12 @@ setup(
18
  "Demo": "https://huggingface.co/spaces/OOI-FrontierTech/supply-roster-optimization",
19
  },
20
  packages=find_packages(),
21
- classifiers=[
22
- "Development Status :: 4 - Beta",
23
- "Intended Audience :: Manufacturing",
24
- "Intended Audience :: Science/Research",
25
- "Topic :: Office/Business :: Scheduling",
26
- "Topic :: Scientific/Engineering :: Mathematics",
27
- "License :: OSI Approved :: MIT License",
28
- "Programming Language :: Python :: 3",
29
- "Programming Language :: Python :: 3.10",
30
- "Operating System :: OS Independent",
31
- ],
32
  keywords="optimization, scheduling, supply-chain, streamlit, or-tools, workforce-management",
33
  install_requires=[
34
  # Core optimization and data processing
35
  "ortools>=9.0.0",
36
  "pandas>=1.5.0",
37
  "numpy>=1.21.0",
38
- "scipy>=1.9.0",
39
 
40
  # Web interface
41
  "streamlit>=1.28.0",
@@ -45,18 +33,6 @@ setup(
45
  "openpyxl>=3.0.0",
46
  "xlrd>=2.0.0",
47
  "python-dateutil>=2.9.0",
48
- "python-dotenv>=1.0.0",
49
- "pytz>=2024.1",
50
-
51
- # Visualization and network analysis
52
- "networkx>=2.8.0",
53
-
54
- # Supporting libraries
55
- "absl-py>=1.0.0",
56
- "immutabledict>=4.0.0",
57
- "protobuf>=3.20,<6",
58
- "six>=1.16.0",
59
- "typing_extensions>=4.0.0",
60
  ],
61
  extras_require={
62
  "dev": [
@@ -66,6 +42,7 @@ setup(
66
  "mypy>=0.950",
67
  ],
68
  "viz": [
 
69
  "matplotlib>=3.5.0",
70
  "seaborn>=0.11.0",
71
  ]
 
6
  setup(
7
  name="supply-roster-optimization",
8
  version="1.0.0",
9
+ description="A Streamlit application for optimizing supply roster management using OR-Tools",
10
  long_description=long_description,
11
  long_description_content_type="text/markdown",
12
  author="HaLim Jun",
 
18
  "Demo": "https://huggingface.co/spaces/OOI-FrontierTech/supply-roster-optimization",
19
  },
20
  packages=find_packages(),
 
 
 
 
 
 
 
 
 
 
 
21
  keywords="optimization, scheduling, supply-chain, streamlit, or-tools, workforce-management",
22
  install_requires=[
23
  # Core optimization and data processing
24
  "ortools>=9.0.0",
25
  "pandas>=1.5.0",
26
  "numpy>=1.21.0",
 
27
 
28
  # Web interface
29
  "streamlit>=1.28.0",
 
33
  "openpyxl>=3.0.0",
34
  "xlrd>=2.0.0",
35
  "python-dateutil>=2.9.0",
 
 
 
 
 
 
 
 
 
 
 
 
36
  ],
37
  extras_require={
38
  "dev": [
 
42
  "mypy>=0.950",
43
  ],
44
  "viz": [
45
+ "networkx>=2.8.0",
46
  "matplotlib>=3.5.0",
47
  "seaborn>=0.11.0",
48
  ]