Skip to content

Commit b852913

Browse files
committed
Change dir structure to pytest recommended layout
1 parent b847bf3 commit b852913

12 files changed

+25
-30
lines changed

setup.py

+24-30
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,26 @@
1-
extra_kwargs = {}
2-
from setuptools import setup
1+
from setuptools import find_packages, setup
32

4-
import ropemode
5-
6-
7-
classifiers=[
8-
'Development Status :: 4 - Beta',
9-
'Operating System :: OS Independent',
10-
'Environment :: X11 Applications',
11-
'Environment :: Win32 (MS Windows)',
12-
'Environment :: MacOS X',
13-
'Intended Audience :: Developers',
14-
'License :: OSI Approved :: GNU General Public License (GPL)',
15-
'Natural Language :: English',
16-
'Programming Language :: Python',
17-
'Topic :: Software Development']
18-
19-
setup(name='ropemode',
20-
version=ropemode.VERSION,
21-
description=ropemode.INFO,
22-
author='Ali Gholami Rudi',
23-
author_email='aligrudi@users.sourceforge.net',
24-
url='https://github.com/python-rope/ropemode',
25-
packages=['ropemode'],
26-
license='GNU GPL',
27-
classifiers=classifiers,
28-
test_suite='ropemodetest',
29-
requires=['rope (>= 0.9.4)'],
30-
install_requires='rope >= 0.9.4'
3+
setup(
4+
name="ropemode",
5+
version="0.5",
6+
description="a helper for using rope refactoring library in IDEs",
7+
author="Ali Gholami Rudi",
8+
author_email="aligrudi@users.sourceforge.net",
9+
url="https://github.com/python-rope/ropemode",
10+
package_dir={"": "src"},
11+
packages=find_packages(where="src"),
12+
license="GNU GPL",
13+
classifiers=[
14+
"Development Status :: 4 - Beta",
15+
"Operating System :: OS Independent",
16+
"Environment :: X11 Applications",
17+
"Environment :: Win32 (MS Windows)",
18+
"Environment :: MacOS X",
19+
"Intended Audience :: Developers",
20+
"License :: OSI Approved :: GNU General Public License (GPL)",
21+
"Natural Language :: English",
22+
"Programming Language :: Python",
23+
"Topic :: Software Development",
24+
],
25+
install_requires=["rope >= 0.9.4"],
3126
)
32-
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

test_requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pytest

tests/__init__.py

Whitespace-only changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)