Skip to content

Commit

Permalink
Merge pull request #39 from arokem/auto-packages
Browse files Browse the repository at this point in the history
Automatically figure out what the packages are.
  • Loading branch information
arokem committed Jun 8, 2016
2 parents 0f29dba + 363a698 commit a9f70e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 3 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup

from setuptools import setup, find_packages
PACKAGES = find_packages()

# Get version and release info, which is all stored in shablona/version.py
ver_file = os.path.join('shablona', 'version.py')
with open(ver_file) as f:
Expand Down
2 changes: 0 additions & 2 deletions shablona/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,5 @@
MINOR = _version_minor
MICRO = _version_micro
VERSION = __version__
PACKAGES = ['shablona',
'shablona.tests']
PACKAGE_DATA = {'shablona': [pjoin('data', '*')]}
REQUIRES = ["numpy"]

0 comments on commit a9f70e6

Please sign in to comment.