|
3 | 3 | from setuptools import setup, find_packages |
4 | 4 | from distutils.command.build import build # type: ignore |
5 | 5 | from distutils.command.sdist import sdist # type: ignore |
6 | | -from setuptools.command.develop import develop # type: ignore |
| 6 | +from setuptools.command.develop import develop |
7 | 7 | import os |
8 | 8 | import sys |
9 | 9 | import subprocess |
|
13 | 13 |
|
14 | 14 | # basic paths used to gather files |
15 | 15 | here = os.path.abspath(os.path.dirname(__file__)) |
16 | | -root = os.path.join(here, "src", "py", name) |
| 16 | +root = os.path.join(here, "src", name) |
17 | 17 |
|
18 | 18 |
|
19 | 19 | # ----------------------------------------------------------------------------- |
|
24 | 24 | package = { |
25 | 25 | "name": name, |
26 | 26 | "python_requires": ">=3.6,<4.0", |
27 | | - "packages": find_packages("src/py", exclude=["tests*"]), |
28 | | - "package_dir": {"": "src/py"}, |
| 27 | + "packages": find_packages("src", exclude=["tests*"]), |
| 28 | + "package_dir": {"": "src"}, |
29 | 29 | "description": "Control the web with Python", |
30 | 30 | "author": "Ryan Morshead", |
31 | 31 | "author_email": "ryan.morshead@gmail.com", |
|
51 | 51 | package["install_requires"] = requirements |
52 | 52 |
|
53 | 53 | _current_extra_section = None |
54 | | -extra_requirements = {"all": []} |
| 54 | +extra_requirements = {"all": []} # type: ignore |
55 | 55 | extra_requirements_path = os.path.join(here, "requirements", "extras.txt") |
56 | 56 | with open(extra_requirements_path, "r") as f: |
57 | 57 | for line in map(str.strip, f): |
|
0 commit comments