Skip to content

Commit

Permalink
Automatically figure out what the packages are.
Browse files Browse the repository at this point in the history
  • Loading branch information
arokem committed May 31, 2016
1 parent 0f29dba commit 363a698
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 363a698

Please sign in to comment.