|
1 | 1 | import sys |
2 | | -from setuptools import setup, find_packages |
3 | | -from pathlib import Path |
4 | 2 | 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 | | - |
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 |
37 | 4 |
|
38 | 5 | print("Installing binaries...") |
| 6 | +call([sys.executable, str(Path(__file__).parent / "actual_setup.py")]) |
39 | 7 | call([sys.executable, str(Path(__file__).parent / "install_binary.py")]) |
0 commit comments