We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da5fd41 commit f6283f3Copy full SHA for f6283f3
setup.py
@@ -1,14 +1,9 @@
1
-# local imports
2
-import jsonparse
3
-
4
# python imports
5
-from setuptools import setup, find_namespace_packages
6
-import os
+from setuptools import setup, find_packages
7
from codecs import open
8
9
# read from the VERSION file
10
-with open(os.path.join(
11
- os.path.dirname(jsonparse.__file__), 'VERSION')) as version_file:
+with open('src/jsonparse/VERSION') as version_file:
12
version = version_file.read().strip()
13
14
# long description as readme
@@ -56,7 +51,7 @@
56
51
'jp=jsonparse.cli:entrypoint',
57
52
],
58
53
},
59
- packages=find_namespace_packages(include=["jsonparse"]),
54
+ packages=find_packages(include=["jsonparse"]),
60
55
package_dir={"jsonparse": "jsonparse"},
61
package_data={
62
'jsonparse': ['VERSION'],
0 commit comments