We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a2712d2 + c792aca commit 0207af6Copy full SHA for 0207af6
Makefile
@@ -8,7 +8,10 @@ env: requirements_tests.txt
8
./env/bin/pip3 install -r requirements_tests.txt
9
./env/bin/pip2 install -r requirements_tests.txt
10
11
-dist:
+chmod:
12
+ git ls-files -z | xargs -0 chmod u=rwX,g=rX,o=rX
13
+
14
+dist: chmod
15
python3 setup.py sdist bdist_wheel
16
python2 setup.py sdist
17
@@ -22,5 +25,5 @@ test: env
22
25
23
26
tests: test
24
27
-upload:
28
+upload: chmod
29
python3 setup.py sdist bdist_wheel upload
setup.py
@@ -1,9 +1,12 @@
1
+import os
2
from os.path import join, dirname
3
4
from setuptools import setup, find_packages
5
6
from version import get_version
7
+os.umask(2)
setup(
name='libarchive-c',
version=get_version(),
0 commit comments