Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Commit

Permalink
Move code to a src directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Jul 21, 2018
1 parent f8e7beb commit 97591ab
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions setup.py
Expand Up @@ -4,7 +4,7 @@
from setuptools import setup, find_packages


with io.open('./beefore/__init__.py', encoding='utf8') as version_file:
with io.open('./src/beefore/__init__.py', encoding='utf8') as version_file:
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", version_file.read(), re.M)
if version_match:
version = version_match.group(1)
Expand All @@ -25,10 +25,11 @@
author_email='russell@keith-magee.com',
url='http://pybee.org/beefore',
keywords=['lint', 'merge', 'dco'],
packages=find_packages(exclude=['tests']),
packages=find_packages(where="src"),
package_dir={"": "src"},
entry_points={
'console_scripts': [
'beefore = beefore.command:main',
'beefore = beefore.__main__:main',
]
},
install_requires=[
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 97591ab

Please sign in to comment.