mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-12-22 01:09:28 +01:00
Move setup.py in subdir to unclutter the project root
This commit is contained in:
parent
56f3723a86
commit
dff204fad4
@ -1,7 +1,9 @@
|
||||
import setuptools
|
||||
import sys
|
||||
sys.path.insert(0,'..')
|
||||
import waflib.Context
|
||||
|
||||
with open("README.md", "r") as fh:
|
||||
with open("../README.md", "r") as fh:
|
||||
long_description = fh.read()
|
||||
|
||||
setuptools.setup(
|
||||
@ -13,8 +15,9 @@ setuptools.setup(
|
||||
long_description=long_description,
|
||||
long_description_content_type="text/markdown",
|
||||
url="https://gitlab.com/ita1024/waf",
|
||||
package_dir={'': '../'},
|
||||
packages=['waflib', 'waflib/Tools', 'waflib/extras'],
|
||||
scripts=['waf-light'],
|
||||
scripts=['../waf-light'],
|
||||
classifiers=[
|
||||
"Programming Language :: Python :: 3",
|
||||
"Operating System :: OS Independent",
|
Loading…
Reference in New Issue
Block a user