Skip to content

Commit

Permalink
fix setup.py: use find_packages to install all packages
Browse files Browse the repository at this point in the history
  • Loading branch information
rfeinman committed Sep 27, 2022
1 parent 85b78ba commit a252e30
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from setuptools import setup
from setuptools import setup, find_packages

packages = find_packages(exclude=("tests", "tests.*"))

setup(
name='pytorch-minimize',
Expand All @@ -8,7 +10,7 @@
author='Reuben Feinman',
author_email='reuben.feinman@nyu.edu',
license='MIT Licence',
packages=['torchmin'],
packages=packages,
zip_safe=False,
install_requires=[
'numpy>=1.18.0',
Expand Down

0 comments on commit a252e30

Please sign in to comment.