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 286ee64 commit 4a93393Copy full SHA for 4a93393
setup.py
@@ -4,7 +4,10 @@
4
from __future__ import absolute_import
5
from __future__ import print_function
6
7
-from setuptools import find_packages
+from glob import glob
8
+from os.path import basename
9
+from os.path import splitext
10
+
11
from setuptools import setup
12
13
@@ -17,8 +20,10 @@
17
20
'This is a microlibrary implmenting teh purl spec at https://github.com/package-url',
18
21
author='the purl authors',
19
22
url='https://github.com/package-url/packageurl-python',
23
+ #packages=find_packages('src'),
24
package_dir={'': 'src'},
- packages=find_packages('src'),
25
+ py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')],
26
27
include_package_data=True,
28
zip_safe=False,
29
platforms='any',
0 commit comments