Skip to content

Commit d141409

Browse files
committed
Properly find packages in setup.py
1 parent 8e99215 commit d141409

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

setup.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import os
44
import re
5+
from typing import List
56

67
import setuptools
78

@@ -14,19 +15,19 @@ def readme_contents() -> str:
1415
return src
1516

1617

17-
def requirements() -> str:
18+
def requirements() -> List[str]:
1819
with open(os.path.join(HERE, 'requirements.txt'), 'r') as fd:
1920
src = fd.read()
2021
return src.splitlines()
2122

2223

23-
def requirements_test() -> str:
24+
def requirements_test() -> List[str]:
2425
with open(os.path.join(HERE, 'requirements-test.txt'), 'r') as fd:
2526
src = fd.read()
2627
return src.splitlines()
2728

2829

29-
def requirements_optional() -> str:
30+
def requirements_optional() -> List[str]:
3031
with open(os.path.join(HERE, 'requirements-optional.txt'), 'r') as fd:
3132
src = fd.read()
3233
return src.splitlines()
@@ -71,7 +72,7 @@ def get_version() -> str:
7172
long_description_content_type="text/markdown",
7273
author='Stan Dev Team',
7374
url='https://github.com/stan-dev/cmdstanpy',
74-
packages=['cmdstanpy'],
75+
packages=['cmdstanpy', 'cmdstanpy.stanfit'],
7576
entry_points={
7677
'console_scripts': [
7778
'install_cmdstan=cmdstanpy.install_cmdstan:__main__',

0 commit comments

Comments
 (0)