2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 01:46:15 +01:00

Move setup.py in subdir to unclutter the project root

This commit is contained in:
Adriano Scoditti 2019-06-26 15:51:48 +02:00
parent 56f3723a86
commit dff204fad4

View File

@ -1,7 +1,9 @@
import setuptools import setuptools
import sys
sys.path.insert(0,'..')
import waflib.Context import waflib.Context
with open("README.md", "r") as fh: with open("../README.md", "r") as fh:
long_description = fh.read() long_description = fh.read()
setuptools.setup( setuptools.setup(
@ -13,8 +15,9 @@ setuptools.setup(
long_description=long_description, long_description=long_description,
long_description_content_type="text/markdown", long_description_content_type="text/markdown",
url="https://gitlab.com/ita1024/waf", url="https://gitlab.com/ita1024/waf",
package_dir={'': '../'},
packages=['waflib', 'waflib/Tools', 'waflib/extras'], packages=['waflib', 'waflib/Tools', 'waflib/extras'],
scripts=['waf-light'], scripts=['../waf-light'],
classifiers=[ classifiers=[
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Operating System :: OS Independent", "Operating System :: OS Independent",