1diff --git a/setup.py b/setup.py
2index e86b1b2..9d34d0d 100644
3--- a/setup.py
4+++ b/setup.py
5@@ -29,19 +29,7 @@ if sys.version_info < (3, 6):
6
7 ROOT_PATH = os.path.abspath(os.path.dirname(__file__))
8
9-rj_include_dir = './rapidjson/include'
10-
11-for idx, arg in enumerate(sys.argv[:]):
12- if arg.startswith('--rj-include-dir='):
13- sys.argv.pop(idx)
14- rj_include_dir = arg.split('=', 1)[1]
15- break
16-else:
17- if not os.path.isdir(os.path.join(ROOT_PATH, 'rapidjson', 'include')):
18- raise RuntimeError("RapidJSON sources not found: if you cloned the git"
19- " repository, you should initialize the rapidjson submodule"
20- " as explained in the README.rst; in all other cases you may"
21- " want to report the issue.")
22+rj_include_dir = '@rapidjson@/include'
23
24 with open('version.txt', encoding='utf-8') as f:
25 VERSION = f.read()