mirror of
https://github.com/yaml/pyyaml.git
synced 2025-10-19 11:03:18 +00:00
Move code from lib3 to lib
This commit is contained in:
parent
dc0c4c1441
commit
f20947ae25
42 changed files with 2 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,7 +2,6 @@
|
|||
/dist/*
|
||||
/build/*
|
||||
/lib/PyYAML.egg-info/*
|
||||
/lib3/PyYAML.egg-info/*
|
||||
/wheelhouse/*
|
||||
/yaml/_yaml.c
|
||||
MANIFEST
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
include CHANGES README LICENSE Makefile pyproject.toml setup.py
|
||||
recursive-include lib/yaml *.py
|
||||
recursive-include lib/_yaml *.py
|
||||
recursive-include lib3/yaml *.py
|
||||
recursive-include lib3/_yaml *.py
|
||||
recursive-include examples *.py *.cfg *.yaml
|
||||
recursive-include tests/data *
|
||||
recursive-include tests/lib *.py
|
||||
recursive-include tests/lib3 *.py
|
||||
recursive-include yaml *
|
||||
|
|
4
setup.py
4
setup.py
|
@ -247,7 +247,7 @@ class test(Command):
|
|||
build_cmd = self.get_finalized_command('build')
|
||||
build_cmd.run()
|
||||
sys.path.insert(0, build_cmd.build_lib)
|
||||
sys.path.insert(0, 'tests/lib3')
|
||||
sys.path.insert(0, 'tests/lib')
|
||||
import test_all
|
||||
if not test_all.main([]):
|
||||
raise DistutilsError("Tests failed")
|
||||
|
@ -277,7 +277,7 @@ if __name__ == '__main__':
|
|||
classifiers=CLASSIFIERS,
|
||||
project_urls=PROJECT_URLS,
|
||||
|
||||
package_dir={'': 'lib3'},
|
||||
package_dir={'': 'lib'},
|
||||
packages=['yaml', '_yaml'],
|
||||
ext_modules=[
|
||||
Extension('yaml._yaml', ['yaml/_yaml.pyx'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue