Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Commit

Permalink
Merge pull request #342 from simphony/remove-automatic-creation
Browse files Browse the repository at this point in the history
Removed automatic invocation of meta_build
  • Loading branch information
mehdisadeghi committed Nov 2, 2016
2 parents 142bed7 + 2c6036b commit a1e08ff
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

from setuptools import setup, find_packages
from distutils.cmd import Command
from distutils.command.build import build
from distutils.command.install import install

# Read description
with open('README.rst', 'r') as readme:
Expand Down Expand Up @@ -91,18 +89,6 @@ def run(self):
raise


class CustomBuild(build):
sub_commands = build.sub_commands + [
('build_meta', None)
]


class CustomInstall(install):
sub_commands = install.sub_commands + [
('build_meta', None)
]


def write_version_py(filename=None):
if filename is None:
filename = os.path.join(
Expand Down Expand Up @@ -134,8 +120,6 @@ def write_version_py(filename=None):
packages=find_packages(),
cmdclass={
'build_meta': BuildMeta,
'build': CustomBuild,
'install': CustomInstall,
},
entry_points={
'console_scripts': [
Expand Down

0 comments on commit a1e08ff

Please sign in to comment.