File tree Expand file tree Collapse file tree 6 files changed +10
-6
lines changed Expand file tree Collapse file tree 6 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1
- include growthbook.py
1
+ include growthbook/* .py
2
2
include setup.py
3
3
include README.md
4
4
include LICENSE
5
- include tests/*.py
5
+ include tests/*.py
6
+ include growthbook/py.typed
Original file line number Diff line number Diff line change @@ -47,10 +47,10 @@ clean-test: ## remove test and coverage artifacts
47
47
rm -fr .pytest_cache
48
48
49
49
lint : # # check style with flake8
50
- flake8 growthbook.py --max-line-length=150
50
+ flake8 growthbook/growthbook .py --max-line-length=150
51
51
52
52
type-check :
53
- mypy growthbook.py --implicit-optional
53
+ mypy growthbook/growthbook .py --implicit-optional
54
54
55
55
test : # # run tests quickly with the default Python
56
56
pytest
Original file line number Diff line number Diff line change
1
+ from .growthbook import *
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
2
3
- from setuptools import setup
3
+ from setuptools import setup , find_packages
4
4
from os import path
5
5
6
6
this_directory = path .abspath (path .dirname (__file__ ))
37
37
install_requires = requirements ,
38
38
license = "MIT" ,
39
39
include_package_data = True ,
40
+ packages = find_packages (),
41
+ package_data = {"growthbook" : ["py.typed" ]},
40
42
keywords = 'growthbook' ,
41
43
py_modules = ['growthbook' ],
42
- scripts = ['growthbook.py' ],
44
+ scripts = ['growthbook/growthbook .py' ],
43
45
test_suite = 'tests' ,
44
46
tests_require = test_requirements ,
45
47
url = 'https://github.com/growthbook/growthbook-python' ,
You can’t perform that action at this time.
0 commit comments