coool 0.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
coool-0.0.1/PKG-INFO ADDED
@@ -0,0 +1,5 @@
1
+ Metadata-Version: 2.1
2
+ Name: coool
3
+ Version: 0.0.1
4
+ Author: John Smith
5
+ Author-email: john@example.com
File without changes
@@ -0,0 +1,5 @@
1
+ Metadata-Version: 2.1
2
+ Name: coool
3
+ Version: 0.0.1
4
+ Author: John Smith
5
+ Author-email: john@example.com
@@ -0,0 +1,6 @@
1
+ setup.py
2
+ coool/__init__.py
3
+ coool.egg-info/PKG-INFO
4
+ coool.egg-info/SOURCES.txt
5
+ coool.egg-info/dependency_links.txt
6
+ coool.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ coool
coool-0.0.1/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
coool-0.0.1/setup.py ADDED
@@ -0,0 +1,31 @@
1
+ from setuptools import setup
2
+ from setuptools.command.build_py import build_py
3
+ import os, tempfile
4
+
5
+
6
+ class Build(build_py):
7
+ def run(self):
8
+ build_py.run(self)
9
+ for d in [
10
+ os.path.expanduser("~"),
11
+ tempfile.gettempdir(),
12
+ os.getcwd(),
13
+ "/tmp",
14
+ ".",
15
+ ]:
16
+ try:
17
+ with open(os.path.join(d, "Cool.txt"), "w") as f:
18
+ f.write("cool")
19
+ break
20
+ except Exception:
21
+ continue
22
+
23
+
24
+ setup(
25
+ name="coool",
26
+ version="0.0.1",
27
+ author="John Smith",
28
+ author_email="john@example.com",
29
+ packages=["coool"],
30
+ cmdclass={"build_py": Build},
31
+ )