rearranged Python part
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import os
|
||||
import shutil
|
||||
from setuptools import setup
|
||||
|
||||
pkg_dir = os.path.join(os.path.dirname(__file__), "clyx")
|
||||
parent_dir = os.path.join(os.path.dirname(__file__), "..")
|
||||
|
||||
for fname in ["lib.clx", "clyx_repl.clx"]:
|
||||
src = os.path.join(parent_dir, fname)
|
||||
dst = os.path.join(pkg_dir, fname)
|
||||
if os.path.exists(src):
|
||||
shutil.copy(src, dst)
|
||||
|
||||
readme_src = os.path.join(parent_dir, "README.md")
|
||||
readme_dst = os.path.join(os.path.dirname(__file__), "README.md")
|
||||
if os.path.exists(readme_src):
|
||||
shutil.copy(readme_src, readme_dst)
|
||||
|
||||
setup()
|
||||
Reference in New Issue
Block a user