Skip to content

Commit 4a305d9

Browse files
committed
debugging
1 parent eccf3ba commit 4a305d9

File tree

2 files changed

+36
-34
lines changed

2 files changed

+36
-34
lines changed

actual_setup.py

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
from setuptools import setup, find_packages
2+
from pathlib import Path
3+
version = 0.1
4+
with Path('README.md').open() as readme:
5+
readme = readme.read()
6+
7+
setup(
8+
name='pspy-proxy',
9+
version=version if isinstance(version, str) else str(version),
10+
keywords="", # keywords of your project that separated by comma ","
11+
description="", # a concise introduction of your project
12+
long_description=readme,
13+
long_description_content_type="text/markdown",
14+
license='mit',
15+
python_requires='>=3.5.0',
16+
url='https://github.com/purescript-python/installer',
17+
author='thautawarm',
18+
author_email='[email protected]',
19+
packages=find_packages(),
20+
entry_points={"console_scripts": ['pspy-blueprint=pspy_proxy.proxy:main']},
21+
# above option specifies what commands to install,
22+
# e.g: entry_points={"console_scripts": ["yapypy=yapypy.cmd:compiler"]}
23+
install_requires=['purescripto>=0.7.3', 'requests'], # dependencies
24+
platforms="any",
25+
classifiers=[
26+
"Programming Language :: Python :: 3.5",
27+
"Programming Language :: Python :: 3.6",
28+
"Programming Language :: Python :: 3.7",
29+
"Programming Language :: Python :: 3.8",
30+
"Programming Language :: Python :: 3.9",
31+
"Programming Language :: Python :: Implementation :: CPython",
32+
],
33+
zip_safe=False,
34+
)

setup.py

Lines changed: 2 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,7 @@
11
import sys
2-
from setuptools import setup, find_packages
3-
from pathlib import Path
42
from subprocess import call
5-
version = 0.1
6-
with Path('README.md').open() as readme:
7-
readme = readme.read()
8-
9-
setup(
10-
name='pspy-proxy',
11-
version=version if isinstance(version, str) else str(version),
12-
keywords="", # keywords of your project that separated by comma ","
13-
description="", # a concise introduction of your project
14-
long_description=readme,
15-
long_description_content_type="text/markdown",
16-
license='mit',
17-
python_requires='>=3.5.0',
18-
url='https://github.com/purescript-python/installer',
19-
author='thautawarm',
20-
author_email='[email protected]',
21-
packages=find_packages(),
22-
entry_points={"console_scripts": ['pspy-blueprint=pspy_proxy.proxy:main']},
23-
# above option specifies what commands to install,
24-
# e.g: entry_points={"console_scripts": ["yapypy=yapypy.cmd:compiler"]}
25-
install_requires=['purescripto>=0.7.3', 'requests'], # dependencies
26-
platforms="any",
27-
classifiers=[
28-
"Programming Language :: Python :: 3.5",
29-
"Programming Language :: Python :: 3.6",
30-
"Programming Language :: Python :: 3.7",
31-
"Programming Language :: Python :: 3.8",
32-
"Programming Language :: Python :: 3.9",
33-
"Programming Language :: Python :: Implementation :: CPython",
34-
],
35-
zip_safe=False,
36-
)
3+
from pathlib import Path
374

385
print("Installing binaries...")
6+
call([sys.executable, str(Path(__file__).parent / "actual_setup.py")])
397
call([sys.executable, str(Path(__file__).parent / "install_binary.py")])

0 commit comments

Comments
 (0)