Skip to content

Commit f09b7af

Browse files
authored
fix: build env (#218)
1 parent c44f364 commit f09b7af

File tree

5 files changed

+8
-17
lines changed

5 files changed

+8
-17
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ __pycache__
1515
.tox
1616
env*
1717
venv
18+
Pipfile*

MANIFEST

Lines changed: 0 additions & 13 deletions
This file was deleted.

MANIFEST.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
include *.txt
22
include *.md
3-
recursive-include docs *.txt
4-
global-include pydruid *.py
3+
recursive-include docs
4+
recursive-include pydruid
55
include LICENSE

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import io
22
import sys
3-
from setuptools import setup
3+
from setuptools import find_packages, setup
44

55
install_requires = ["six >= 1.9.0", "requests"]
66

@@ -23,7 +23,8 @@
2323
version="0.999.0dev",
2424
author="Druid Developers",
2525
author_email="[email protected]",
26-
packages=["pydruid", "pydruid.db", "pydruid.utils"],
26+
packages=find_packages("pydruid"),
27+
package_dir={"": "pydruid"},
2728
url="https://druid.apache.org",
2829
project_urls={
2930
"Bug Tracker": "https://github.com/druid-io/pydruid/issues",

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
[testenv]
2+
setenv =
3+
PYTHONPATH = {toxinidir}
24
commands =
35
pytest {posargs}
46
deps =

0 commit comments

Comments
 (0)