Skip to content

Commit 31667bd

Browse files
committed
update to use setuptools
1 parent 45e860d commit 31667bd

File tree

2 files changed

+7
-15
lines changed

2 files changed

+7
-15
lines changed

MANIFEST.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
include README.md
2+
include LICENSE.txt
3+
include data/

setup.py

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
# Use setuptools in preference to distutils
2-
try:
3-
from setuptools import setup
4-
except ImportError:
5-
from distutils.core import setup
2+
from setuptools import setup, find_packages
63
import os
74

85
#-Write Versions File-#
9-
#~~~~~~~~~~~~~~~~~~~~~#
106

117
VERSION = '0.4.5'
128

@@ -94,15 +90,7 @@ def write_version_py(filename=None):
9490
#~~~~~~~#
9591

9692
setup(name='quantecon',
97-
packages=['quantecon',
98-
'quantecon.game_theory',
99-
'quantecon.game_theory.game_generators',
100-
'quantecon.markov',
101-
'quantecon.optimize',
102-
'quantecon.random',
103-
'quantecon.tests',
104-
'quantecon.util',
105-
],
93+
packages=find_packages('quantecon')
10694
version=VERSION,
10795
description=DESCRIPTION,
10896
long_description=LONG_DESCRIPTION,
@@ -120,4 +108,5 @@ def write_version_py(filename=None):
120108
'scipy>=1.0.0',
121109
'sympy',
122110
]
123-
)
111+
include_package_data=True
112+
)

0 commit comments

Comments
 (0)