Skip to content

Commit 0eb7777

Browse files
committed
Renamed src path to tstl to conform to normal package behavior
- package will be installed as "tstl" instead of "src" in site-packages
1 parent 1f03d7a commit 0eb7777

27 files changed

+25
-26
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ install:
2424
env:
2525
- TRAVIS=TRUE CYTHON_VERSION= AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES=TRUE
2626
script:
27-
- pyflakes src/*.py
27+
- pyflakes tstl/*.py
2828
- pyflakes tests/*.py
29-
- pycodestyle src/*.py --max-line-length 120 --statistics --ignore W503,W504,E704
30-
- pycodestyle src/static/*.py --max-line-length 120 --statistics --ignore W503,W504,E704
29+
- pycodestyle tstl/*.py --max-line-length 120 --statistics --ignore W503,W504,E704
30+
- pycodestyle tstl/static/*.py --max-line-length 120 --statistics --ignore W503,W504,E704
3131
- pycodestyle tests/*.py --max-line-length 120 --statistics
3232
- python setup.py install
3333
- nosetests --verbose

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include src/static/*
1+
include tstl/static/*

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ default, though if for some reason you need <> in your code (and to
608608
prepare for a future C++ version) this can be turned off and only % supported.
609609

610610
Note that documentation above is preliminary. The best way to get started, once you understand the basic tools (`tstl`, `tstl_rt`, `tstl_replay`, and `tstl_reduce`) is to examine the examples directory and try out real TSTL test
611-
harnesses. For the brave, reading src/randomtester.py provides
611+
harnesses. For the brave, reading tstl/randomtester.py provides
612612
considerable guidance in how to (efficiently) use TSTL in a generic
613613
testing tool, with TSTL providing an interface to the underlying
614614
application/library to be tested.

setup.py

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,37 @@
11
#-*- coding:utf-8 -*-
22

3-
from setuptools import setup, find_packages
4-
import sys, os
3+
from setuptools import setup
54

65
setup(
76
name='tstl',
87
version='1.2.21',
98
description='Template scripting testing language (TSTL)',
109
long_description=open('README.md').read(),
11-
packages=['src',],
10+
packages=['tstl',],
1211
include_package_data = True,
1312
package_data = {
14-
'src': ['static/boilerplate.py', 'static/boilerplate_cov.py'],
13+
'tstl': ['static/boilerplate.py', 'static/boilerplate_cov.py'],
1514
},
1615
license='MIT',
1716
entry_points="""
1817
[console_scripts]
19-
tstl = src.harnessmaker:main
20-
tstl_rt = src.randomtester:main
21-
tstl_standalone = src.standalone:main
22-
tstl_replay = src.replay:main
23-
tstl_reduce = src.reduce:main
24-
tstl_smallcheck = src.smallcheck:main
25-
tstl_generalize = src.generalize:main
26-
tstl_regress = src.runregressions:main
27-
tstl_markov = src.markov:main
28-
tstl_graph = src.graph:main
29-
tstl_afl = src.tstl_afl:main
30-
tstl_aflcorpus = src.makecorpus:main
31-
tstl_toafl = src.tocorpus:main
32-
tstl_fromafl = src.fromafl:main
33-
tstl_triage = src.triage:main
34-
tstl_afl_fuzz = src.tstl_afl_fuzz:main
35-
tstl_calibrate = src.calibrate:main
18+
tstl = tstl.harnessmaker:main
19+
tstl_rt = tstl.randomtester:main
20+
tstl_standalone = tstl.standalone:main
21+
tstl_replay = tstl.replay:main
22+
tstl_reduce = tstl.reduce:main
23+
tstl_smallcheck = tstl.smallcheck:main
24+
tstl_generalize = tstl.generalize:main
25+
tstl_regress = tstl.runregressions:main
26+
tstl_markov = tstl.markov:main
27+
tstl_graph = tstl.graph:main
28+
tstl_afl = tstl.tstl_afl:main
29+
tstl_aflcorpus = tstl.makecorpus:main
30+
tstl_toafl = tstl.tocorpus:main
31+
tstl_fromafl = tstl.fromafl:main
32+
tstl_triage = tstl.triage:main
33+
tstl_afl_fuzz = tstl.tstl_afl_fuzz:main
34+
tstl_calibrate = tstl.calibrate:main
3635
""",
3736
keywords='testing tstl',
3837
test_suite='nose.collector',
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)