Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import sys
import codecs

from setuptools import setup
from setuptools import setup, find_packages


if sys.version_info < (2, 7):
Expand Down Expand Up @@ -59,7 +59,7 @@
"Topic :: Utilities",
],

packages = ['cinje'],
packages = find_packages(),

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

find_packages use has been deprecated? If this corrects the file ending issue that line number mapping triggers, there may be a larger issue?

Official documentation doesn't suggest using this function, which was an older Python 2 approach and theoretical way to "save time" back when it was most typical to have an executable setup.py script invoking setuptools. (See also: old-style namespaces which have a __init__.py files declaring the namespace. See this documentation for a complete description of "native namespace packages" v. "legacy namespace packages". That's also now just static project metadata.)

True, though, that packages should probably be: ['cinje', 'cinje.std', 'cinje.block', 'cinje.inline']

include_package_data = True,
package_data = {'': ['README.rst', 'LICENSE.txt']},
namespace_packages = [],
Expand Down