File tree 2 files changed +6
-8
lines changed
2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ description-file=README.md
3
3
license_files =LICENSE
4
4
5
5
[bdist_wheel]
6
- universal = 1
6
+ universal = true
Original file line number Diff line number Diff line change 1
1
from os import system
2
2
import pathlib
3
- from setuptools import setup
3
+ from setuptools import setup , find_packages
4
4
import sys
5
5
6
6
15
15
16
16
here = pathlib .Path (__file__ ).parent
17
17
18
- packages = ['audible' ]
19
-
20
18
about = {}
21
- exec ((here / 'audible' / '_version.py' ).read_text ('utf-8' ), about )
19
+ exec ((here / 'src' / ' audible' / '_version.py' ).read_text ('utf-8' ), about )
22
20
23
21
long_description = (here / 'README.md' ).read_text ('utf-8' )
24
22
28
26
setup (
29
27
name = about ['__title__' ],
30
28
version = about ['__version__' ],
31
- packages = packages ,
32
- package_dir = {'audible' : 'audible' },
29
+ packages = find_packages ('src' ),
30
+ package_dir = {'' : 'src' },
31
+ include_package_data = True ,
33
32
description = about ['__description__' ],
34
33
url = about ['__url__' ],
35
34
license = about ['__license__' ],
46
45
install_requires = requires ,
47
46
python_requires = '>=3.6' ,
48
47
keywords = 'Audible, API, async' ,
49
- include_package_data = True ,
50
48
long_description = long_description ,
51
49
long_description_content_type = 'text/markdown' ,
52
50
)
You can’t perform that action at this time.
0 commit comments