summaryrefslogtreecommitdiff
path: root/attoconf/lib/install.py
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-07-17 11:49:24 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-07-17 11:50:04 -0700
commitd33fcf6cc7380633329fdaf2e7f7543bbdd2490e (patch)
treea93784103a38b10e72abedff927c6951288885d6 /attoconf/lib/install.py
parent9d681429a3c78520614be1f4852de8ffb1bfcd8a (diff)
downloadattobuild-d33fcf6cc7380633329fdaf2e7f7543bbdd2490e.tar.gz
attobuild-d33fcf6cc7380633329fdaf2e7f7543bbdd2490e.tar.bz2
attobuild-d33fcf6cc7380633329fdaf2e7f7543bbdd2490e.tar.xz
attobuild-d33fcf6cc7380633329fdaf2e7f7543bbdd2490e.zip
Use a metaclass instead of @add_slots
Diffstat (limited to 'attoconf/lib/install.py')
-rw-r--r--attoconf/lib/install.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/attoconf/lib/install.py b/attoconf/lib/install.py
index f43b2a1..3dc7f5b 100644
--- a/attoconf/lib/install.py
+++ b/attoconf/lib/install.py
@@ -1,4 +1,4 @@
-# Copyright 2013 Ben Longbons <b.r.longbons@gmail.com>
+# Copyright 2013-2014 Ben Longbons <b.r.longbons@gmail.com>
#
# This file is part of attoconf.
#
@@ -141,11 +141,7 @@ def psdir(build, DIR):
class Install(ClassyProject):
__slots__ = ()
-
- @classmethod
- def slots(cls):
- return super(Install, cls).slots() + (
- 'package', 'package_name')
+ _merge_slots_ = ('package', 'package_name')
# Compatibility with configure written for attoconf < 0.7
# In attoconf 1.0, the positional srcdir argument will go away,