summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2017-07-13 23:32:42 +0200
committerAnthon van der Neut <anthon@mnt.org>2017-07-13 23:32:42 +0200
commiteaba7badcb3ce04a9db6e4fe8504950cef832f7d (patch)
treeb6fefde9db338bf03ae0569ad9c4d84bd96aa1ac /setup.py
parent2ea4de43fe2e0160e27b605f2c65f33c5a2083d7 (diff)
downloadruamel.yaml-eaba7badcb3ce04a9db6e4fe8504950cef832f7d.tar.gz
added register_class/yaml_object0.15.19
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index a0b7f1f..e540f93 100644
--- a/setup.py
+++ b/setup.py
@@ -169,6 +169,7 @@ def _package_data(fn):
raise NotImplementedError
return data
+
# make sure you can run "python ../some/dir/setup.py install"
pkg_data = _package_data(__file__.replace('setup.py', '__init__.py'))
@@ -241,7 +242,7 @@ class MySdist(_sdist):
# because of unicode_literals
# self.formats = fmt if fmt else [b'bztar'] if sys.version_info < (3, ) else ['bztar']
dist_base = os.environ.get('PYDISTBASE')
- fpn = getattr(getattr(self, 'nsp', self), 'full_package_name', None)
+ fpn = getattr(getattr(self, 'nsp', self), 'full_package_name', None)
if fpn and dist_base:
print('setting distdir {}/{}'.format(dist_base, fpn))
self.dist_dir = os.path.join(dist_base, fpn)
@@ -256,7 +257,7 @@ try:
def initialize_options(self):
_bdist_wheel.initialize_options(self)
dist_base = os.environ.get('PYDISTBASE')
- fpn = getattr(getattr(self, 'nsp', self), 'full_package_name', None)
+ fpn = getattr(getattr(self, 'nsp', self), 'full_package_name', None)
if fpn and dist_base:
print('setting distdir {}/{}'.format(dist_base, fpn))
self.dist_dir = os.path.join(dist_base, fpn)
@@ -356,7 +357,7 @@ class NameSpacePackager(object):
sys.exit(1)
# If you only support an extension module on Linux, Windows thinks it
# is pure. That way you would get pure python .whl files that take
- # precedence for downloading on Linux over source with compilable C
+ # precedence for downloading on Linux over source with compilable C code
if self._pkg_data.get('universal'):
Distribution.is_pure = lambda *args: True
else:
@@ -917,4 +918,5 @@ def main():
imz.delete_from_zip_file(nsp.full_package_name + '.*.pth')
break
+
main()