Skip to content

Commit

Permalink
Include requirements.txt into sdist
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfinus committed Aug 17, 2020
1 parent f9dfa1e commit b07d4af
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
5 changes: 0 additions & 5 deletions .vscode/settings.json

This file was deleted.

7 changes: 5 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
include readme.md
include LICENSE
include README.md LICENSE requirements.txt
recursive-exclude * __pycache__
recursive-exclude * *.pyc
recursive-exclude * *.pyo
recursive-exclude * *.orig
File renamed without changes.
12 changes: 7 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import setuptools
from setuptools import setup, find_packages
from setuptools_git_versioning import version_from_git

with open('readme.md', 'r') as fh:
with open('README.md', 'r') as fh:
long_description = fh.read()

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

setuptools.setup(
setup(
name="setuptools-git-versioning",
version=version_from_git(),
author="Camas",
Expand All @@ -17,7 +17,7 @@
long_description_content_type="text/markdown",
url="https://github.com/dolfinus/setuptools-git-versioning",
keywords='setuptools git version-control',
packages=setuptools.find_packages(),
packages=find_packages(),
classifiers=[
'Framework :: Setuptools Plugin',
'Intended Audience :: Developers',
Expand All @@ -33,12 +33,14 @@
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=2.7',
python_requires='>=2.7,!=3.1,!=3.2',
py_modules=['setuptools_git_versioning'],
install_requires=requirements,
entry_points={
'distutils.setup_keywords': [
'version_config = setuptools_git_versioning:parse_config',
],
},
include_package_data=True,
zip_safe=False
)

0 comments on commit b07d4af

Please sign in to comment.