Skip to content

Commit

Permalink
Use find_packages to make sure and not miss a package.
Browse files Browse the repository at this point in the history
  • Loading branch information
tannewt committed Jun 30, 2018
1 parent e419805 commit a8264df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ _build
build*
bundles
*.DS_Store
.eggs
dist
**/*.egg-info
12 changes: 2 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import os
import sys

from setuptools import setup
from setuptools import setup, find_packages

here = os.path.abspath(os.path.dirname(__file__))

Expand All @@ -29,15 +29,7 @@
python_requires='>=3.4.0',
url='https://github.com/adafruit/Adafruit_Blinka',
package_dir={'': 'src'},
packages=[
'adafruit_blinka',
'adafruit_blinka.agnostic',
'adafruit_blinka.board',
'adafruit_blinka.microcontroller',
'adafruit_blinka.microcontroller.esp8266',
'adafruit_blinka.microcontroller.stm32',
'microcontroller'
],
packages=find_packages("src"),
# If your package is a single module, use this instead of 'packages':
py_modules=['bitbangio', 'board', 'busio', 'digitalio', 'micropython'],
install_requires=['Adafruit-GPIO'],
Expand Down

0 comments on commit a8264df

Please sign in to comment.