Skip to content

Commit c5085b7

Browse files
authored
Merge pull request #4 from pazzarpj/feature/3-build-broken
#3 Restructured code for setup.py build
2 parents 641c18a + 5e363e3 commit c5085b7

File tree

3 files changed

+8
-55
lines changed

3 files changed

+8
-55
lines changed

setup.py

+8-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
BASE_LOCATION = os.path.abspath(os.path.dirname(__file__))
99

10-
VERSION_FILE = os.path.join(BASE_LOCATION, "ustubby", "__init__.py")
10+
VERSION_FILE = os.path.join(BASE_LOCATION, "src", "ustubby", "__init__.py")
1111
REQUIRES_FILE = 'requirements.txt'
1212
DEPENDENCIES_FILE = None
1313

@@ -54,19 +54,21 @@ def get_dependencies():
5454
author="Ryan Parry-Jones",
5555
author_email="[email protected]",
5656
description="Micropython c stub generator",
57-
package_dir={'': ''},
58-
packages=find_packages(''),
59-
scripts=[],
57+
package_dir={'': 'src'},
58+
packages=find_packages('src'),
6059
url="https://github.com/pazzarpj/ustubby",
6160
version=get_version(),
62-
python_requires='~=3.6',
61+
python_requires='>=3.6',
6362
dependency_links=[],
6463
include_package_data=True,
6564
zip_safe=False,
6665
classifiers=[
6766
"Development Status :: 4 - Beta",
6867
"Intended Audience :: Manufacturing",
6968
"License :: OSI Approved :: MIT License",
70-
"Programming Language :: Python :: 3 :: Only"
69+
"Programming Language :: Python :: 3 :: Only",
70+
"Programming Language :: Python :: 3.6",
71+
"Programming Language :: Python :: 3.7",
72+
"Programming Language :: Python :: 3.8",
7173
],
7274
)

src/example.py

-49
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)