Skip to content

Commit

Permalink
Get auto-version setting right
Browse files Browse the repository at this point in the history
Fixes #30
  • Loading branch information
gordonwatts committed Oct 21, 2020
1 parent a9ef22f commit 513cdce
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,23 @@
"elts",
"firstlineno",
"funcs",
"getenv",
"inuse",
"jetpt",
"mult",
"nogood",
"numpy",
"obj's",
"prereleased",
"ptgev",
"pypa",
"pypi",
"pytest",
"reco",
"rmul",
"rsub",
"rtruediv",
"sdist",
"setuptools",
"subexpr",
"ufunc",
Expand Down
8 changes: 8 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
# Need setuptools even though it isn't used - loads some plugins.
from setuptools import find_packages # noqa: F401
from distutils.core import setup
import os

# Use the readme as the long description.
with open("README.md", "r") as fh:
long_description = fh.read()


version = os.getenv('dataframe_expressions_version')
if version is None:
version = '0.1a1'
else:
version = version.split('/')[-1]

extras_require = {'test': ['pytest', 'pytest-asyncio', 'pytest-cov',
'flake8', 'coverage', 'twine', 'wheel', 'numpy']}
extras_require['complete'] = sorted(set(sum(extras_require.values(), [])))
Expand Down

0 comments on commit 513cdce

Please sign in to comment.