diff --git a/packages/py-netpyne/package.py b/packages/py-netpyne/package.py
index 8bd40de8cea50b28258879d2e3d914962c9f2d63..e26287ad0c17cba5291495ea0e74e9b2e195c33a 100644
--- a/packages/py-netpyne/package.py
+++ b/packages/py-netpyne/package.py
@@ -10,14 +10,16 @@ class PyNetpyne(PythonPackage):
     """NetPyNE (Networks using Python and NEURON) is a Python package to facilitate the development, simulation, parallelization, analysis, and optimization of biological neuronal networks using the NEURON simulator."""
 
     homepage = "netpyne.org"
-    url = "https://pypi.org/packages/py2.py3/n/netpyne/netpyne-1.0.4.1-py2.py3-none-any.whl"
+    url = "https://github.com/suny-downstate-medical-center/netpyne/archive/refs/tags/v1.0.4.1.tar.gz"
     git = "https://github.com/suny-downstate-medical-center/netpyne.git"
 
     # list of GitHub accounts to notify when the package is updated.
     maintainers = ["salvadord", "vvbragin"]
 
-    version("1.0.4.1", sha256="e0ab937eeb9de7bf42c080991190949b437ee407fe796d79682ada8cabb62cca", expand=False)
+    version("1.0.4.1", sha256="2ed12807f9b3d3e3a8ba9910f8d22c5c17635e0cdea0af09fa3a230e68876df6")
 
+    depends_on("py-setuptools", type="build")
+    
     depends_on("neuron", type=("build", "run"))
     depends_on("py-numpy", type=("build", "run"))
     depends_on("py-scipy", type=("build", "run"))