Skip to content
This repository was archived by the owner on Nov 19, 2018. It is now read-only.

Commit be514e4

Browse files
committed
Add info abou mysterious env vars in setup.py
Apparently they were (still are?) needed on Mac OS to skip mac-specific files to be polluting tar packages created when releasing pydot.
1 parent 197ea7d commit be514e4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
#!/usr/bin/env python
2-
from codecs import open
32
import os
3+
from codecs import open
4+
45
from setuptools import setup
56

67

8+
# NOTE(prmtl): found reason on https://superuser.com/q/259703
79
os.environ['COPY_EXTENDED_ATTRIBUTES_DISABLE'] = 'true'
810
os.environ['COPYFILE_DISABLE'] = 'true'
911

12+
1013
with open('README.rst', 'r', 'utf-8') as f:
1114
readme = f.read()
1215

16+
1317
setup(
1418
name='pydot_ng',
1519
version='1.0.1.dev0',

0 commit comments

Comments
 (0)