Skip to content

Commit b07d4af

Browse files
committed
Include requirements.txt into sdist
1 parent f9dfa1e commit b07d4af

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.vscode/settings.json

-5
This file was deleted.

MANIFEST.in

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
include readme.md
2-
include LICENSE
1+
include README.md LICENSE requirements.txt
2+
recursive-exclude * __pycache__
3+
recursive-exclude * *.pyc
4+
recursive-exclude * *.pyo
5+
recursive-exclude * *.orig

readme.md renamed to README.md

File renamed without changes.

setup.py

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
import setuptools
1+
from setuptools import setup, find_packages
22
from setuptools_git_versioning import version_from_git
33

4-
with open('readme.md', 'r') as fh:
4+
with open('README.md', 'r') as fh:
55
long_description = fh.read()
66

77
with open('requirements.txt', 'r') as fh:
88
requirements = fh.readlines()
99

10-
setuptools.setup(
10+
setup(
1111
name="setuptools-git-versioning",
1212
version=version_from_git(),
1313
author="Camas",
@@ -17,7 +17,7 @@
1717
long_description_content_type="text/markdown",
1818
url="https://github.com/dolfinus/setuptools-git-versioning",
1919
keywords='setuptools git version-control',
20-
packages=setuptools.find_packages(),
20+
packages=find_packages(),
2121
classifiers=[
2222
'Framework :: Setuptools Plugin',
2323
'Intended Audience :: Developers',
@@ -33,12 +33,14 @@
3333
"License :: OSI Approved :: MIT License",
3434
"Operating System :: OS Independent",
3535
],
36-
python_requires='>=2.7',
36+
python_requires='>=2.7,!=3.1,!=3.2',
3737
py_modules=['setuptools_git_versioning'],
3838
install_requires=requirements,
3939
entry_points={
4040
'distutils.setup_keywords': [
4141
'version_config = setuptools_git_versioning:parse_config',
4242
],
4343
},
44+
include_package_data=True,
45+
zip_safe=False
4446
)

0 commit comments

Comments
 (0)